diff src/video/SDL_shape.c @ 4830:3dfe779900f5

Compiling for cocoa now works. Does it run? We'll see.
author egottlieb
date Tue, 03 Aug 2010 23:22:31 -0400
parents 5660aac926e9
children 0c82f20327ec
line wrap: on
line diff
--- a/src/video/SDL_shape.c	Tue Aug 03 21:56:05 2010 -0400
+++ b/src/video/SDL_shape.c	Tue Aug 03 23:22:31 2010 -0400
@@ -196,7 +196,7 @@
 	return result;
 }
 
-void SDL_TraverseShapeTree(SDL_ShapeTree *tree,void(*function)(SDL_ShapeTree*,void*),void* closure) {
+void SDL_TraverseShapeTree(SDL_ShapeTree *tree,SDL_TraversalFunction function,void* closure) {
 	if(tree->kind == QuadShape) {
 		SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upleft,function,closure);
 		SDL_TraverseShapeTree((SDL_ShapeTree *)tree->data.children.upright,function,closure);