Commits

Ronald Oussoren  committed 4062ece

CFObject_{New,Convert} will be present in Python 2.3b2, they are already
present in Python CVS as of a couple of days ago. Adjust the test for
people that don't rebuild python very often.

  • Participants
  • Parent commits 940fe11

Comments (0)

Files changed (1)

File pyobjc/Modules/objc/toll-free-bridging.m

 	int r;
 	id  val;
 
-#if PY_VERSION_HEX >= 0x020300B1 
+#if PY_VERSION_HEX >= 0x020300B2
 
 	r = CFObj_Convert(argument, (CFTypeRef*)&val);
 	if (r) return val;
 
 PyObject* PyObjC_IDToCFType(id argument)
 {
-#if PY_VERSION_HEX >= 0x020300B1 
+#if PY_VERSION_HEX >= 0x020300B2 
 	return CFObj_New((CFTypeRef)argument);
 
 #else