Commits

Lenard Lindstrom committed 8754159

remove distracting "'PyGAME_C_API' defined but not used" gcc warnings from Pygame build

  • Participants
  • Parent commits e6cc0f7

Comments (0)

Files changed (4)

   pete@shinners.org
 */
 
+#define NO_PYGAME_C_API
 #include "surface.h"
 
 /* The structure passed to the low level blit functions */

src/bufferproxy.c

 
 #define PYGAMEAPI_BUFFERPROXY_INTERNAL
 
+#define NO_PYGAME_C_API
 #include "pygame.h"
 #include "pgcompat.h"
 
 */
 
 #define PYGAMEAPI_MATH_INTERNAL
+#define NO_PYGAME_C_API
 #include "doc/math_doc.h"
 #include "pygame.h"
 #include "structmember.h"

src/surface_fill.c

   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#define NO_PYGAME_C_API
 #include "surface.h"