Commits

Ronald Oussoren committed 3c18fc1

Reorganize initialization to ensure that the python type NSPoint is defined
when we create a number of contant points (otherwise they'll be added as
tuples)

Comments (0)

Files changed (1)

Modules/Foundation/_Foundation.m

 #endif
 
 
-#	include "_Fnd_Var.inc"
     
 	/* Add manual registrations below */
 	v = PyObjC_RegisterStructType(@encode(NSPoint),
 	PyDict_SetItemString(d, "NSRect", v);
 	Py_DECREF(v);
 
+#	include "_Fnd_Var.inc"
+
 	/* Install wrappers for difficult methods */
 #ifdef MACOSX
 	/* XXX - check for OS X 10.2+ */