@@ -55,6 +55,7 @@ PyObject *CFRange_New(CFRange *itself)
5555 return Py_BuildValue ("ll" , (long )itself -> location , (long )itself -> length );
5656}
5757
58+ int
5859CFRange_Convert (PyObject * v , CFRange * p_itself )
5960{
6061 long location , length ;
@@ -102,7 +103,7 @@ PyObject *CFTypeRefObj_New(CFTypeRef itself)
102103 it -> ob_freeit = CFRelease ;
103104 return (PyObject * )it ;
104105}
105- CFTypeRefObj_Convert (PyObject * v , CFTypeRef * p_itself )
106+ int CFTypeRefObj_Convert (PyObject * v , CFTypeRef * p_itself )
106107{
107108
108109 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -325,7 +326,7 @@ PyObject *CFArrayRefObj_New(CFArrayRef itself)
325326 it -> ob_freeit = CFRelease ;
326327 return (PyObject * )it ;
327328}
328- CFArrayRefObj_Convert (PyObject * v , CFArrayRef * p_itself )
329+ int CFArrayRefObj_Convert (PyObject * v , CFArrayRef * p_itself )
329330{
330331
331332 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -475,7 +476,7 @@ PyObject *CFMutableArrayRefObj_New(CFMutableArrayRef itself)
475476 it -> ob_freeit = CFRelease ;
476477 return (PyObject * )it ;
477478}
478- CFMutableArrayRefObj_Convert (PyObject * v , CFMutableArrayRef * p_itself )
479+ int CFMutableArrayRefObj_Convert (PyObject * v , CFMutableArrayRef * p_itself )
479480{
480481
481482 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -628,7 +629,7 @@ PyObject *CFDictionaryRefObj_New(CFDictionaryRef itself)
628629 it -> ob_freeit = CFRelease ;
629630 return (PyObject * )it ;
630631}
631- CFDictionaryRefObj_Convert (PyObject * v , CFDictionaryRef * p_itself )
632+ int CFDictionaryRefObj_Convert (PyObject * v , CFDictionaryRef * p_itself )
632633{
633634
634635 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -760,7 +761,7 @@ PyObject *CFMutableDictionaryRefObj_New(CFMutableDictionaryRef itself)
760761 it -> ob_freeit = CFRelease ;
761762 return (PyObject * )it ;
762763}
763- CFMutableDictionaryRefObj_Convert (PyObject * v , CFMutableDictionaryRef * p_itself )
764+ int CFMutableDictionaryRefObj_Convert (PyObject * v , CFMutableDictionaryRef * p_itself )
764765{
765766
766767 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -876,7 +877,7 @@ PyObject *CFDataRefObj_New(CFDataRef itself)
876877 it -> ob_freeit = CFRelease ;
877878 return (PyObject * )it ;
878879}
879- CFDataRefObj_Convert (PyObject * v , CFDataRef * p_itself )
880+ int CFDataRefObj_Convert (PyObject * v , CFDataRef * p_itself )
880881{
881882
882883 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -1026,7 +1027,7 @@ PyObject *CFMutableDataRefObj_New(CFMutableDataRef itself)
10261027 it -> ob_freeit = CFRelease ;
10271028 return (PyObject * )it ;
10281029}
1029- CFMutableDataRefObj_Convert (PyObject * v , CFMutableDataRef * p_itself )
1030+ int CFMutableDataRefObj_Convert (PyObject * v , CFMutableDataRef * p_itself )
10301031{
10311032
10321033 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -1224,7 +1225,7 @@ PyObject *CFStringRefObj_New(CFStringRef itself)
12241225 it -> ob_freeit = CFRelease ;
12251226 return (PyObject * )it ;
12261227}
1227- CFStringRefObj_Convert (PyObject * v , CFStringRef * p_itself )
1228+ int CFStringRefObj_Convert (PyObject * v , CFStringRef * p_itself )
12281229{
12291230
12301231 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -1827,7 +1828,7 @@ PyObject *CFMutableStringRefObj_New(CFMutableStringRef itself)
18271828 it -> ob_freeit = CFRelease ;
18281829 return (PyObject * )it ;
18291830}
1830- CFMutableStringRefObj_Convert (PyObject * v , CFMutableStringRef * p_itself )
1831+ int CFMutableStringRefObj_Convert (PyObject * v , CFMutableStringRef * p_itself )
18311832{
18321833
18331834 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
@@ -2114,7 +2115,7 @@ PyObject *CFURLRefObj_New(CFURLRef itself)
21142115 it -> ob_freeit = CFRelease ;
21152116 return (PyObject * )it ;
21162117}
2117- CFURLRefObj_Convert (PyObject * v , CFURLRef * p_itself )
2118+ int CFURLRefObj_Convert (PyObject * v , CFURLRef * p_itself )
21182119{
21192120
21202121 if (v == Py_None ) { * p_itself = NULL ; return 1 ; }
0 commit comments