1. Jeremy Reichman
  2. pyobjc

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)

  • Participants
  • Parent commits 75a75ce
  • Branches pyobjc-ancient

Comments (0)

Files changed (1)

File Modules/Foundation/_Foundation.m

View file
 #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+ */