Commits

Ronald Oussoren committed 9f01d4b

This causes the testsuite to run to the end and mostly pass
in a 64-bit build:

FAILED (failures=30, errors=8, skipped=20, expected failures=5)

The number of problems is way higher than in 32-bit builds, that
will get fixed soon.

I've also disabled tests in 'test_nscoder.py' due to that test
eating all memory in my machine (that's a bug in PyObjC and will
get fixed as well).

Comments (0)

Files changed (9)

pyobjc-framework-Cocoa/Doc/NEWS.txt

 NEWS file for pyobjc-framework-Cocoa
 ====================================
 
+Version 2.3
+-----------
+
+* BUGFIX: The framework wrappers for Cocoa now actually work in
+  64-bit code.
+
+* BUGFIX: Remove loads of unnecessary definitions from the bridgesupport
+  files. This seriously reduces the size of those files, and more 
+  importantly the size of running PyObjC-based programs without affecting
+  functionality.
+
+* Merge the C extensions, there are now two extensions left
+  per framework: one contains a list of inline functions for use
+  by the bridgesupport loeader, the other manual wrappers for
+  a number of functions.
+
+* (In progress) Port to python 3.x
+
 Version 2.2
 -----------
 

pyobjc-framework-Cocoa/Lib/AppKit/PyObjC.bridgesupport

     <arg type='@' type64='@' printf_format='true' />
   </function>
   <function name='NSBestDepth'>
-    <retval type='i' type64='i' />
+    <retval type='i' type64='q' />
     <arg type='@' type64='@' />
     <arg type='i' type64='q' />
     <arg type='i' type64='q' />
   </function>
   <function name='NSBitsPerPixelFromDepth'>
     <retval type='i' type64='q' />
-    <arg type='i' type64='i' />
+    <arg type='i' type64='q' />
   </function>
   <function name='NSBitsPerSampleFromDepth'>
     <retval type='i' type64='q' />
-    <arg type='i' type64='i' />
+    <arg type='i' type64='q' />
   </function>
   <function name='NSColorSpaceFromDepth'>
     <retval type='@' type64='@' />
-    <arg type='i' type64='i' />
+    <arg type='i' type64='q' />
   </function>
   <function name='NSConvertGlyphsToPackedGlyphs'>
     <retval type='i' type64='q' />
   </function>
   <function name='NSCountWindows'>
     <retval type='v' type64='v' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='^i' type64='^q' type_modifier='o' />
   </function>
   <function name='NSCountWindowsForContext'>
     <retval type='v' type64='v' />
     <arg type='i' type64='q' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='^i' type64='^q' type_modifier='o' />
   </function>
   <function name='NSCreateFileContentsPboardType'>
     <retval already_cfretained='true' type='@' type64='@' />
     <retval type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
     <arg type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
     <arg type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
-    <arg c_array_length_in_arg='4' type='^i' type64='^i' type_modifier='n' />
+    <arg c_array_length_in_arg='4' type='^i' type64='^q' type_modifier='n' />
     <arg c_array_length_in_arg='4' type='^@' type_modifier='n' />
     <arg type='i' type64='q' />
   </function>
     <retval type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
     <arg type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
     <arg type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
-    <arg c_array_length_in_arg='4' type='^i' type64='^i' type_modifier='n' />
+    <arg c_array_length_in_arg='4' type='^i' type64='^q' type_modifier='n' />
     <arg c_array_length_in_arg='4' type='^f' type64='^f' type_modifier='n' />
     <arg type='i' type64='q' />
   </function>
   <function name='NSGetWindowServerMemory'>
     <retval type='i' type64='q' />
     <arg type='i' type64='q' />
-    <arg type='^i' type64='^i' type_modifier='o' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='^i' type64='^q' type_modifier='o' />
+    <arg type='^i' type64='^q' type_modifier='o' />
     <arg type='^@' type_modifier='o' />
   </function>
   <function name='NSHighlightRect'>
   </function>
   <function name='NSOpenGLGetOption'>
     <retval type='v' type64='v' />
-    <arg type='i' type64='i' />
+    <arg type='i' type64='q' />
     <arg type='^i' type_modifier='o' />
   </function>
   <function name='NSOpenGLGetVersion'>
   </function>
   <function name='NSOpenGLSetOption'>
     <retval type='v' type64='v' />
-    <arg type='i' type64='i' />
-    <arg type='i' type64='i' />
+    <arg type='i' type64='q' />
+    <arg type='i' type64='q' />
   </function>
   <function name='NSPerformService'>
     <retval type='B' type64='B' />
   </function>
   <function name='NSPlanarFromDepth'>
     <retval type='B' type64='B' />
-    <arg type='i' type64='i' />
+    <arg type='i' type64='q' />
   </function>
   <function name='NSReadPixel'>
     <retval type='@' type64='@' />
   </function>
   <function name='NSRectClipList'>
     <retval type='v' type64='v' />
-    <arg c_array_length_in_arg='1' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='n' />
+    <arg c_array_length_in_arg='1' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='n' />
     <arg type='i' type64='q' />
   </function>
   <function name='NSRectFill'>
   </function>
   <function name='NSRectFillList'>
     <retval type='v' type64='v' />
-    <arg c_array_length_in_arg='1' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='n' />
+    <arg c_array_length_in_arg='1' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='n' />
     <arg type='i' type64='q' />
   </function>
   <function name='NSRectFillListUsingOperation'>
     <retval type='v' type64='v' />
-    <arg c_array_length_in_arg='1' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='n' />
+    <arg c_array_length_in_arg='1' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='n' />
     <arg type='i' type64='q' />
     <arg type='I' />
   </function>
   <function name='NSRectFillListWithColors'>
     <retval type='v' type64='v' />
-    <arg c_array_length_in_arg='2' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='n' />
+    <arg c_array_length_in_arg='2' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='n' />
     <arg c_array_length_in_arg='2' type='^@' type_modifier='n' />
     <arg type='i' type64='q' />
   </function>
   <function name='NSRectFillListWithColorsUsingOperation'>
     <retval type='v' type64='v' />
-    <arg c_array_length_in_arg='2' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='n' />
+    <arg c_array_length_in_arg='2' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='n' />
     <arg c_array_length_in_arg='2' type='^@' type_modifier='n' />
     <arg type='i' type64='q' />
     <arg type='I' />
   </function>
   <function name='NSRectFillListWithGrays'>
     <retval type='v' type64='v' />
-    <arg c_array_length_in_arg='2' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='n' />
+    <arg c_array_length_in_arg='2' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='n' />
     <arg c_array_length_in_arg='2' type='^f' type64='^f' type_modifier='n' />
     <arg type='i' type64='q' />
   </function>
   <function name='NSWindowList'>
     <retval type='v' type64='v' />
     <arg type='i' type64='q' />
-    <arg c_array_length_in_arg='0' type='^i' type64='^i' type_modifier='o' />
+    <arg c_array_length_in_arg='0' type='^i' type64='^q' type_modifier='o' />
   </function>
   <function name='NSWindowListForContext'>
     <retval type='v' type64='v' />
     <arg type='i' type64='q' />
     <arg type='i' type64='q' />
-    <arg c_array_length_in_arg='1' type='^i' type64='^i' type_modifier='o' />
+    <arg c_array_length_in_arg='1' type='^i' type64='^q' type_modifier='o' />
   </function>
   <function inline='true' name='NSEventMaskFromType'>
     <retval type='I' type64='Q' />

pyobjc-framework-Cocoa/Lib/CoreFoundation/PyObjC.bridgesupport

 <signatures version='1.0'>
   <struct name='CFGregorianDate' type='{_CFGregorianDate="year"i"month"c"day"c"hour"c"minute"c"second"d}' type64='{_CFGregorianDate="year"i"month"c"day"c"hour"c"minute"c"second"d}' />
   <struct name='CFGregorianUnits' type='{_CFGregorianUnits="years"i"months"i"days"i"hours"i"minutes"i"seconds"d}' type64='{_CFGregorianUnits="years"i"months"i"days"i"hours"i"minutes"i"seconds"d}' />
-  <struct name='CFRange' type='{_CFRange="location"i"length"i}' type64='{_CFRange="location"q"length"q}' />
+  <struct name='CFRange' type='{_CFRange="location"l"length"l}' type64='{_CFRange="location"l"length"l}' />
   <struct name='CFSetCallBacks' type='{_CFSetCallBacks="version"i"retain"^?"release"^?"copyDescription"^?"equal"^?"hash"^?}' type64='{_CFSetCallBacks="version"q"retain"^?"release"^?"copyDescription"^?"equal"^?"hash"^?}' />
   <struct name='CFSocketSignature' type='{_CFSocketSignature="protocolFamily"i"socketType"i"protocol"i"address"^{__CFData=}}' type64='{_CFSocketSignature="protocolFamily"i"socketType"i"protocol"i"address"^{__CFData=}}' />
   <struct name='CFStreamError' type='{_CFStreamError="domain"i"error"i}' type64='{_CFStreamError="domain"q"error"i}' />
     <retval type='d' />
   </function>
   <function name='CFAbsoluteTimeGetDayOfWeek'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='d' />
     <arg type='^{__CFTimeZone=}' />
   </function>
   <function name='CFAbsoluteTimeGetDayOfYear'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='d' />
     <arg type='^{__CFTimeZone=}' />
   </function>
     <arg type='^{__CFTimeZone=}' />
   </function>
   <function name='CFAbsoluteTimeGetWeekOfYear'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='d' />
     <arg type='^{__CFTimeZone=}' />
   </function>
   <function name='CFArrayAppendArray'>
     <arg type='^{__CFArray=}' />
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFArrayAppendValue'>
     <arg type='^{__CFArray=}' />
   </function>
   <function name='CFArrayApplyFunction'>
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg function_pointer='true' function_pointer_retained='false' type='^?' type64='^?'>
       <retval type='v' />
       <arg type='@' />
   <function name='CFArrayBSearchValues'>
     <retval type='l' type64='q' />
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='@' type64='@' />
     <arg function_pointer='true' function_pointer_retained='false' type='^?' type64='^?'>
       <retval type='l' />
   <function name='CFArrayContainsValue'>
     <retval type='B' />
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='@' type64='@' />
   </function>
   <function name='CFArrayCreateCopy'>
   <function name='CFArrayGetCountOfValue'>
     <retval type='l' type64='q' />
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='@' type64='@' />
   </function>
   <function name='CFArrayGetFirstIndexOfValue'>
     <retval type='l' type64='q' />
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='@' type64='@' />
   </function>
   <function name='CFArrayGetLastIndexOfValue'>
     <retval type='l' type64='q' />
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='@' type64='@' />
   </function>
   <function name='CFArrayGetTypeID'>
   </function>
   <function name='CFArrayGetValues'>
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg c_array_length_in_arg='1' type='r^@' type64='r^@' type_modifier='o' />
   </function>
   <function name='CFArrayInsertValueAtIndex'>
   </function>
   <function name='CFArrayReplaceValues'>
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg c_array_length_in_arg='3' type='^@' type64='^@' type_modifier='n' />
     <arg type='l' type64='l' />
   </function>
   </function>
   <function name='CFArraySortValues'>
     <arg type='^{__CFArray=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg function_pointer='true' function_pointer_retained='false' type='^?' type64='^?'>
       <retval type='l' />
       <arg type='@' />
     <retval already_cfretained='true' type='^{__CFAttributedString=}' />
     <arg type='^{__CFAllocator=}' />
     <arg type='^{__CFAttributedString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFAttributedStringEndEditing'>
     <arg type='^{__CFAttributedString=}' />
     <arg type='^{__CFAttributedString=}' />
     <arg type='l' type64='l' />
     <arg type='^{__CFString=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFAttributedStringGetAttributeAndLongestEffectiveRange'>
     <retval type='@' />
     <arg type='^{__CFAttributedString=}' />
     <arg type='l' type64='l' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFAttributedStringGetAttributes'>
     <retval type='^{__CFDictionary=}' />
     <arg type='^{__CFAttributedString=}' />
     <arg type='l' type64='l' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFAttributedStringGetAttributesAndLongestEffectiveRange'>
     <retval type='^{__CFDictionary=}' />
     <arg type='^{__CFAttributedString=}' />
     <arg type='l' type64='l' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFAttributedStringGetLength'>
     <retval type='l' type64='q' />
   </function>
   <function name='CFAttributedStringRemoveAttribute'>
     <arg type='^{__CFAttributedString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFAttributedStringReplaceAttributedString'>
     <arg type='^{__CFAttributedString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFAttributedString=}' />
   </function>
   <function name='CFAttributedStringReplaceString'>
     <arg type='^{__CFAttributedString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFAttributedStringSetAttribute'>
     <arg type='^{__CFAttributedString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFString=}' />
     <arg type='@' />
   </function>
   <function name='CFAttributedStringSetAttributes'>
     <arg type='^{__CFAttributedString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFDictionary=}' />
     <arg type='B' />
   </function>
   <function name='CFBitVectorContainsBit'>
     <retval type='B' />
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFBitVectorCreate'>
   </function>
   <function name='CFBitVectorFlipBits'>
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFBitVectorGetBitAtIndex'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='^{__CFBitVector=}' />
     <arg type='l' type64='l' />
   </function>
   <function name='CFBitVectorGetBits'>
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg c_array_of_variable_length='true' type='^v' type64='^v' type_modifier='o' />
   </function>
   <function name='CFBitVectorGetCount'>
   <function name='CFBitVectorGetCountOfBit'>
     <retval type='l' type64='q' />
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFBitVectorGetFirstIndexOfBit'>
     <retval type='l' type64='q' />
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFBitVectorGetLastIndexOfBit'>
     <retval type='l' type64='q' />
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFBitVectorGetTypeID'>
   </function>
   <function name='CFBitVectorSetBits'>
     <arg type='^{__CFBitVector=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFBitVectorSetCount'>
   </function>
   <function name='CFBundleCloseBundleResourceMap'>
     <arg type='^{__CFBundle=}' />
-    <arg type='s' type64='s' />
+    <arg type='s' type64='l' />
   </function>
   <function name='CFBundleCopyAuxiliaryExecutableURL'>
     <retval already_cfretained='true' type='^{__CFURL=}' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFBundleGetVersionNumber'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='^{__CFBundle=}' />
   </function>
   <function name='CFBundleIsExecutableLoaded'>
     <arg type='^^{__CFError}' type_modifier='o' />
   </function>
   <function name='CFBundleOpenBundleResourceFiles'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFBundle=}' />
-    <arg type='^s' type64='^s' type_modifier='o' />
-    <arg type='^s' type64='^s' type_modifier='o' />
+    <arg type='^s' type64='^l' type_modifier='o' />
+    <arg type='^s' type64='^l' type_modifier='o' />
   </function>
   <function name='CFBundleOpenBundleResourceMap'>
-    <retval type='s' type64='i' />
+    <retval type='s' type64='l' />
     <arg type='^{__CFBundle=}' />
   </function>
   <function name='CFBundlePreflightExecutable'>
     <arg type='^{__CFCalendar=}' />
   </function>
   <function name='CFCalendarGetMaximumRangeOfUnit'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFCalendar=}' />
     <arg type='L' />
   </function>
     <arg type='^{__CFCalendar=}' />
   </function>
   <function name='CFCalendarGetMinimumRangeOfUnit'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFCalendar=}' />
     <arg type='L' />
   </function>
     <arg type='d' />
   </function>
   <function name='CFCalendarGetRangeOfUnit'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFCalendar=}' />
     <arg type='L' />
     <arg type='L' />
   </function>
   <function name='CFCharacterSetAddCharactersInRange'>
     <arg type='^{__CFCharacterSet=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFCharacterSetAddCharactersInString'>
     <arg type='^{__CFCharacterSet=}' />
   <function name='CFCharacterSetCreateWithCharactersInRange'>
     <retval already_cfretained='true' type='^{__CFCharacterSet=}' />
     <arg type='^{__CFAllocator=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFCharacterSetCreateWithCharactersInString'>
     <retval already_cfretained='true' type='^{__CFCharacterSet=}' />
   </function>
   <function name='CFCharacterSetRemoveCharactersInRange'>
     <arg type='^{__CFCharacterSet=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFCharacterSetRemoveCharactersInString'>
     <arg type='^{__CFCharacterSet=}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFDataFind'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFData=}' />
     <arg type='^{__CFData=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='i' type64='q' />
   </function>
   <function name='CFDataAppendBytes'>
   </function>
   <function name='CFDataDeleteBytes'>
     <arg type='^{__CFData=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFDataGetBytePtr'>
     <retval c_array_of_variable_length='true' type='^v' type64='^v' />
   </function>
   <function name='CFDataGetBytes'>
     <arg type='^{__CFData=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg c_array_length_in_arg='1' type='^v' type64='^v' type_modifier='o' />
   </function>
   <function name='CFDataGetLength'>
   </function>
   <function name='CFDataReplaceBytes'>
     <arg type='^{__CFData=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg c_array_length_in_arg='3' type='^v' type64='^v' type_modifier='n' />
     <arg type='l' type64='l' />
   </function>
     <arg type='^{__CFAllocator=}' />
     <arg type='^{__CFDateFormatter=}' />
     <arg type='^{__CFString=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='N' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='N' />
   </function>
   <function name='CFDateFormatterCreateStringWithAbsoluteTime'>
     <retval already_cfretained='true' type='^{__CFString=}' />
     <retval type='B' />
     <arg type='^{__CFDateFormatter=}' />
     <arg type='^{__CFString=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='N' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='N' />
     <arg type='^d' type_modifier='o' />
   </function>
   <function name='CFDateFormatterGetDateStyle'>
     <arg type='^{__CFMessagePort=}' />
   </function>
   <function name='CFMessagePortSendRequest'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFMessagePort=}' />
     <arg type='l' type64='l' />
     <arg type='^{__CFData=}' />
     <arg type='^{__CFAllocator=}' />
     <arg type='^{__CFNumberFormatter=}' />
     <arg type='^{__CFString=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='N' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='N' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFNumberFormatterCreateStringWithNumber'>
     <retval type='B' />
     <arg type='^{__CFNumberFormatter=}' />
     <arg type='^{__CFString=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='N' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='N' />
     <arg type='l' />
     <arg already_retained='true' type='^@' type64='^@' type_modifier='o' />
   </function>
     <arg type='^{__CFReadStream=}' />
     <arg type='l' type64='l' />
     <arg type='L' type64='L' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
     <arg already_retained='true' type='^^{__CFString}' type_modifier='o' />
   </function>
   <function name='CFPropertyListCreateFromXMLData'>
     <retval c_array_length_in_arg='2' type='^v' type64='^v' />
     <arg type='^{__CFReadStream=}' />
     <arg type='l' type64='l' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
   </function>
   <function name='CFReadStreamGetError'>
     <retval type='{_CFStreamError=ii}' type64='{_CFStreamError=qi}' />
   </function>
   <function name='CFRunLoopRun' />
   <function name='CFRunLoopRunInMode'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFString=}' />
     <arg type='d' />
     <arg type='B' />
     <retval type='l' type64='q' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringCompareWithOptionsAndLocale'>
     <retval type='l' type64='q' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
     <arg type='^{__CFLocale=}' />
   </function>
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringConvertEncodingToWindowsCodepage'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringConvertIANACharSetNameToEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringConvertNSStringEncodingToEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringConvertWindowsCodepageToEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringCreateArrayBySeparatingStrings'>
     <arg type='^{__CFAllocator=}' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringCreateByCombiningStrings'>
     <retval already_cfretained='true' type='^{__CFString=}' />
     <arg type='^{__CFAllocator=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFStringDelete'>
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFStringFind'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
     <arg type='L' type64='L' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringFindCharacterFromSet'>
     <retval type='B' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFCharacterSet=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFStringFindWithOptions'>
     <retval type='B' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFStringFindWithOptionsAndLocale'>
     <retval type='B' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
     <arg type='^{__CFLocale=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFStringFold'>
     <arg type='^{__CFString=}' />
   <function name='CFStringGetBytes'>
     <retval type='l' type64='q' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
     <arg type='C' />
     <arg type='B' />
     <arg c_array_length_in_arg='6,7' type='^v' type64='^v' type_modifier='o' />
     <arg type='l' type64='l' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
   </function>
   <function name='CFStringGetCString'>
     <retval type='B' />
   </function>
   <function name='CFStringGetCharacters'>
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg c_array_length_in_arg='1' type='r^T' type64='r^T' type_modifier='o' />
   </function>
   <function name='CFStringGetCharactersPtr'>
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringGetFastestEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringGetFileSystemRepresentation'>
     <arg type='l' type64='l' />
   </function>
   <function name='CFStringGetIntValue'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringGetLength'>
   </function>
   <function name='CFStringGetLineBounds'>
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
-    <arg type='^i' type64='^i' type_modifier='o' />
-    <arg type='^i' type64='^i' type_modifier='o' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
+    <arg type='^i' type64='^l' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
   </function>
   <function name='CFStringGetListOfAvailableEncodings'>
     <retval c_array_of_variable_length='true' type='^I' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringGetMostCompatibleMacStringEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='L' type64='L' />
   </function>
   <function name='CFStringGetNameOfEncoding'>
   </function>
   <function name='CFStringGetParagraphBounds'>
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
-    <arg type='^i' type64='^i' type_modifier='o' />
-    <arg type='^i' type64='^i' type_modifier='o' />
-    <arg type='^i' type64='^i' type_modifier='o' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
+    <arg type='^i' type64='^l' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
+    <arg type='^i' type64='^l' type_modifier='o' />
   </function>
   <function name='CFStringGetRangeOfComposedCharactersAtIndex'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFString=}' />
     <arg type='l' type64='l' />
   </function>
   <function name='CFStringGetSmallestEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringGetSystemEncoding'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='L' />
   </function>
   <function name='CFStringGetTypeID'>
     <retval type='L' type64='Q' />
   </function>
   <function name='CFStringReplace'>
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFString=}' />
   </function>
   <function name='CFStringReplaceAll'>
   <function name='CFStringTokenizerCopyBestStringLanguage'>
     <retval already_cfretained='true' type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFStringTokenizerCopyCurrentTokenAttribute'>
     <retval already_cfretained='true' type='@' />
     <retval already_cfretained='true' type='^{__CFStringTokenizer=}' />
     <arg type='^{__CFAllocator=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='L' type64='L' />
     <arg type='^{__CFLocale=}' />
   </function>
   <function name='CFStringTokenizerGetCurrentSubTokens'>
     <retval type='l' type64='q' />
     <arg type='^{__CFStringTokenizer=}' />
-    <arg c_array_length_in_result='true' c_array_length_in_arg='2' type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg c_array_length_in_result='true' c_array_length_in_arg='2' type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
     <arg type='l' type64='l' />
     <arg type='^{__CFArray=}' />
   </function>
   <function name='CFStringTokenizerGetCurrentTokenRange'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFStringTokenizer=}' />
   </function>
   <function name='CFStringTokenizerGetTypeID'>
   <function name='CFStringTokenizerSetString'>
     <arg type='^{__CFStringTokenizer=}' />
     <arg type='^{__CFString=}' />
-    <arg type='{_CFRange=ii}' type64='{_CFRange=ii}' />
+    <arg type='{_CFRange=ll}' type64='{_CFRange=ll}' />
   </function>
   <function name='CFStringTransform'>
     <retval type='B' />
     <arg type='^{__CFString=}' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='N' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='N' />
     <arg type='^{__CFString=}' />
     <arg type='B' />
   </function>
     <arg type='^{__CFURL=}' />
   </function>
   <function name='CFURLGetByteRangeForComponent'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='^{__CFURL=}' />
     <arg type='l' />
-    <arg type='^{_CFRange=ii}' type64='^{_CFRange=ii}' type_modifier='o' />
+    <arg type='^{_CFRange=ll}' type64='^{_CFRange=ll}' type_modifier='o' />
   </function>
   <function name='CFURLGetBytes'>
     <retval type='l' type64='q' />
     <arg type='l' type64='l' />
   </function>
   <function name='CFURLGetPortNumber'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFURL=}' />
   </function>
   <function name='CFURLGetString'>
     <arg type='^{__CFUUID=}' />
   </function>
   <function name='CFUserNotificationCancel'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFUserNotification=}' />
   </function>
   <function name='CFUserNotificationCreate'>
     <arg function_pointer='true' type='^?' type64='^?'>
 	    <retval type='v' />
       <arg type='^{__CFUserNotification=}' />
-      <arg type='i' />
+      <arg type='i' type64='q'/>
     </arg>
     <arg type='l' type64='l' />
   </function>
   <function name='CFUserNotificationDisplayAlert'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='d' />
     <arg type='L' type64='L' />
     <arg type='^{__CFURL=}' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
     <arg type='^{__CFString=}' />
-    <arg type='^I' type64='^I' type_modifier='o' />
+    <arg type='^I' type64='^L' type_modifier='o' />
   </function>
   <function name='CFUserNotificationDisplayNotice'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='d' />
     <arg type='L' type64='L' />
     <arg type='^{__CFURL=}' />
     <retval type='L' type64='Q' />
   </function>
   <function name='CFUserNotificationReceiveResponse'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFUserNotification=}' />
     <arg type='d' />
-    <arg type='^I' type64='^I' type_modifier='o' />
+    <arg type='^I' type64='^L' type_modifier='o' />
   </function>
   <function name='CFUserNotificationUpdate'>
-    <retval type='l' type64='i' />
+    <retval type='l' type64='l' />
     <arg type='^{__CFUserNotification=}' />
     <arg type='d' />
     <arg type='L' type64='L' />
     <arg type='{_CFSwappedFloat32=I}' />
   </function>
   <function inline='true' name='CFRangeMake'>
-    <retval type='{_CFRange=ii}' type64='{_CFRange=qq}' />
+    <retval type='{_CFRange=ll}' type64='{_CFRange=ll}' />
     <arg type='l' type64='l' />
     <arg type='l' type64='l' />
   </function>

pyobjc-framework-Cocoa/Lib/Foundation/PyObjC.bridgesupport

   <enum name='NSNoTopLevelContainersSpecifierError' value='1' />
   <enum name='NSNonLossyASCIIStringEncoding' value='7' />
   <enum name='NSNotEqualToPredicateOperatorType' value='5' />
-  <enum name='NSNotFound' value='2147483647' value64='-1' />
+  <enum name='NSNotFound' value='2147483647' value64='9223372036854775807' />
   <enum name='NSNotPredicateType' value='0' />
   <enum name='NSNotificationCoalescingOnName' value='1' />
   <enum name='NSNotificationCoalescingOnSender' value='2' />
   <function name='NSDivideRect'>
     <retval type='v' type64='v' />
     <arg type='{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='{CGRect={CGPoint=dd}{CGSize=dd}}' />
-    <arg null_accepted='false' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='o' />
-    <arg null_accepted='false' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type_modifier='o' />
+    <arg null_accepted='false' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='o' />
+    <arg null_accepted='false' type='^{_NSRect={_NSPoint=ff}{_NSSize=ff}}' type64='^{CGRect={CGPoint=dd}{CGSize=dd}}' type_modifier='o' />
     <arg type='f' type64='d' />
     <arg type='I' />
   </function>
   </function>
   <function name='NSFileTypeForHFSTypeCode'>
     <retval type='@' type64='@' />
-    <arg type='L' type64='I' />
+    <arg type='L' type64='Q' />
   </function>
   <function name='NSFreeHashTable'>
     <retval type='v' type64='v' />
   <function name='NSGetSizeAndAlignment'>
     <retval c_array_delimited_by_null='true' type='^t' type64='^t' />
     <arg c_array_delimited_by_null='true' type='^t' type64='^t' type_modifier='n' />
-    <arg type='^I' type64='^I' type_modifier='o' />
-    <arg type='^I' type64='^I' type_modifier='o' />
+    <arg type='^I' type64='^Q' type_modifier='o' />
+    <arg type='^I' type64='^Q' type_modifier='o' />
   </function>
   <function name='NSHFSTypeCodeFromFileType'>
-    <retval type='L' type64='I' />
+    <retval type='L' type64='Q' />
     <arg type='@' type64='@' />
   </function>
   <function name='NSHFSTypeOfFile'>
       <arg index='1' sel_of_type='v@:@' />
     </method>
     <method selector='classCode'>
-      <retval type='L' type64='I' />
+      <retval type='L' type64='Q' />
     </method>
     <method selector='classForArchiver'>
       <retval type='#' />

pyobjc-framework-Cocoa/Modules/_CoreFoundation_CFNumber.m

 		CFIndex indexv;
 	} buf;
 
-	if (!PyArg_ParseTuple(args, "OiO", &py_number, &type, &py_buf)) {
+	if (!PyArg_ParseTuple(args, "O"Py_ARG_SIZE_T"O", &py_number, &type, &py_buf)) {
 		return NULL;
 	}
 	if (py_buf != Py_None) {
 		CFIndex indexv;
 	} buf;
 
-	if (!PyArg_ParseTuple(args, "OiO", &py_allocator, &type, &py_value)) {
+	if (!PyArg_ParseTuple(args, "O"Py_ARG_SIZE_T"O", &py_allocator, &type, &py_value)) {
 		return NULL;
 	}
 	if (PyObjC_PythonToObjC(@encode(CFAllocatorRef), py_allocator, &allocator) < 0) {

pyobjc-framework-Cocoa/PyObjCTest/guitest_graphics.py

         self.image = NSImage.alloc().initWithSize_((100, 100))
 
     def makeArray(self, points):
+        if sys.maxint > 2 ** 32:
+            code = 'd'
+        else:
+            code = 'f'
 
-        a = array.array('f', len(points) * [0, 0, 0, 0])
+        a = array.array(code, len(points) * [0, 0, 0, 0])
         for i in range(len(points)):
             p = points[i]
             a[(i*4) + 0] = p[0][0]

pyobjc-framework-Cocoa/PyObjCTest/test_cfbundle.py

         self.assertIsObject(ok, True)
         self.assertIsInstance(type, (int, long))
         self.assertIsInstance(creator, (int, long))
+
     def testResources(self):
         url = CFURLCreateWithFileSystemPath(None, u"/System/Library/Frameworks/Foundation.framework", kCFURLPOSIXPathStyle, True)
         bundle = CFBundleCreate(None, url)

pyobjc-framework-Cocoa/PyObjCTest/test_cfnumber.py

         self.assertIsInstance(num, CFNumberRef)
         self.assertTrue(CFNumberIsFloatType(num))
         self.assertEqual(num , 1)
+
     def testNumberTypes(self):
         v = CFNumberGetType(44)
-        self.assertEqual(v , kCFNumberLongType)
+        if sys.maxint > 2 ** 32:
+            self.assertEqual(v , kCFNumberLongLongType)
+        else:
+            self.assertEqual(v , kCFNumberLongType)
         v = CFNumberGetType(2.5)
         self.assertEqual(v , kCFNumberDoubleType)
         v = CFNumberGetByteSize(44)

pyobjc-framework-Cocoa/PyObjCTest/test_nscoder.py

 from PyObjCTest.testhelper import PyObjC_TestClass4
 
 class TestNSCoderUsage(TestCase):
-    if not hasattr(TestCase, 'assertAlmostEquals'):
-        # XXX Move to a PyObjC unittest module?
-        def assertAlmostEquals(self, val1, val2):
-            self.assert_ (abs(val1 - val2) <  0.000001)
-
     def testUsage(self):
+        self.fail("FIXME 64")
         class CoderClass1 (NSObject):
             def encodeWithCoder_(self, coder):
                 # NSObject does not implement NSCoding, no need to
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.