Regenerated without default int return types.

This commit is contained in:
Jack Jansen 2001-09-04 22:19:18 +00:00
parent d157b3795b
commit 06d2e1af35
17 changed files with 35 additions and 33 deletions

View File

@ -71,7 +71,7 @@ PyObject *AEDesc_New(AEDesc *itself)
it->ob_itself = *itself;
return (PyObject *)it;
}
AEDesc_Convert(PyObject *v, AEDesc *p_itself)
int AEDesc_Convert(PyObject *v, AEDesc *p_itself)
{
if (!AEDesc_Check(v))
{

View File

@ -55,6 +55,7 @@ PyObject *CFRange_New(CFRange *itself)
return Py_BuildValue("ll", (long)itself->location, (long)itself->length);
}
int
CFRange_Convert(PyObject *v, CFRange *p_itself)
{
long location, length;
@ -102,7 +103,7 @@ PyObject *CFTypeRefObj_New(CFTypeRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFTypeRefObj_Convert(PyObject *v, CFTypeRef *p_itself)
int CFTypeRefObj_Convert(PyObject *v, CFTypeRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -325,7 +326,7 @@ PyObject *CFArrayRefObj_New(CFArrayRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFArrayRefObj_Convert(PyObject *v, CFArrayRef *p_itself)
int CFArrayRefObj_Convert(PyObject *v, CFArrayRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -475,7 +476,7 @@ PyObject *CFMutableArrayRefObj_New(CFMutableArrayRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFMutableArrayRefObj_Convert(PyObject *v, CFMutableArrayRef *p_itself)
int CFMutableArrayRefObj_Convert(PyObject *v, CFMutableArrayRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -628,7 +629,7 @@ PyObject *CFDictionaryRefObj_New(CFDictionaryRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFDictionaryRefObj_Convert(PyObject *v, CFDictionaryRef *p_itself)
int CFDictionaryRefObj_Convert(PyObject *v, CFDictionaryRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -760,7 +761,7 @@ PyObject *CFMutableDictionaryRefObj_New(CFMutableDictionaryRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFMutableDictionaryRefObj_Convert(PyObject *v, CFMutableDictionaryRef *p_itself)
int CFMutableDictionaryRefObj_Convert(PyObject *v, CFMutableDictionaryRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -876,7 +877,7 @@ PyObject *CFDataRefObj_New(CFDataRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFDataRefObj_Convert(PyObject *v, CFDataRef *p_itself)
int CFDataRefObj_Convert(PyObject *v, CFDataRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -1026,7 +1027,7 @@ PyObject *CFMutableDataRefObj_New(CFMutableDataRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFMutableDataRefObj_Convert(PyObject *v, CFMutableDataRef *p_itself)
int CFMutableDataRefObj_Convert(PyObject *v, CFMutableDataRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -1224,7 +1225,7 @@ PyObject *CFStringRefObj_New(CFStringRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFStringRefObj_Convert(PyObject *v, CFStringRef *p_itself)
int CFStringRefObj_Convert(PyObject *v, CFStringRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -1827,7 +1828,7 @@ PyObject *CFMutableStringRefObj_New(CFMutableStringRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFMutableStringRefObj_Convert(PyObject *v, CFMutableStringRef *p_itself)
int CFMutableStringRefObj_Convert(PyObject *v, CFMutableStringRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
@ -2114,7 +2115,7 @@ PyObject *CFURLRefObj_New(CFURLRef itself)
it->ob_freeit = CFRelease;
return (PyObject *)it;
}
CFURLRefObj_Convert(PyObject *v, CFURLRef *p_itself)
int CFURLRefObj_Convert(PyObject *v, CFURLRef *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }

View File

@ -81,6 +81,7 @@ PyObject *CFRange_New(CFRange *itself)
return Py_BuildValue("ll", (long)itself->location, (long)itself->length);
}
int
CFRange_Convert(PyObject *v, CFRange *p_itself)
{
long location, length;

View File

@ -84,7 +84,7 @@ PyObject *CmpInstObj_New(ComponentInstance itself)
it->ob_itself = itself;
return (PyObject *)it;
}
CmpInstObj_Convert(PyObject *v, ComponentInstance *p_itself)
int CmpInstObj_Convert(PyObject *v, ComponentInstance *p_itself)
{
if (!CmpInstObj_Check(v))
{
@ -332,7 +332,7 @@ PyObject *CmpObj_New(Component itself)
it->ob_itself = itself;
return (PyObject *)it;
}
CmpObj_Convert(PyObject *v, Component *p_itself)
int CmpObj_Convert(PyObject *v, Component *p_itself)
{
if ( v == Py_None ) {
*p_itself = 0;

View File

@ -118,7 +118,7 @@ PyObject *CtlObj_New(ControlHandle itself)
it->ob_callbackdict = NULL;
return (PyObject *)it;
}
CtlObj_Convert(PyObject *v, ControlHandle *p_itself)
int CtlObj_Convert(PyObject *v, ControlHandle *p_itself)
{
if (!CtlObj_Check(v))
{

View File

@ -158,7 +158,7 @@ PyObject *DlgObj_New(DialogPtr itself)
SetWRefCon(GetDialogWindow(itself), (long)it);
return (PyObject *)it;
}
DlgObj_Convert(PyObject *v, DialogPtr *p_itself)
int DlgObj_Convert(PyObject *v, DialogPtr *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }
if (PyInt_Check(v)) { *p_itself = (DialogPtr)PyInt_AsLong(v);

View File

@ -66,7 +66,7 @@ PyObject *DragObj_New(DragRef itself)
it->sendproc = NULL;
return (PyObject *)it;
}
DragObj_Convert(PyObject *v, DragRef *p_itself)
int DragObj_Convert(PyObject *v, DragRef *p_itself)
{
if (!DragObj_Check(v))
{

View File

@ -85,7 +85,7 @@ PyObject *ListObj_New(ListHandle itself)
it->ob_must_be_disposed = 1;
return (PyObject *)it;
}
ListObj_Convert(PyObject *v, ListHandle *p_itself)
int ListObj_Convert(PyObject *v, ListHandle *p_itself)
{
if (!ListObj_Check(v))
{

View File

@ -67,7 +67,7 @@ PyObject *MenuObj_New(MenuHandle itself)
it->ob_itself = itself;
return (PyObject *)it;
}
MenuObj_Convert(PyObject *v, MenuHandle *p_itself)
int MenuObj_Convert(PyObject *v, MenuHandle *p_itself)
{
if (!MenuObj_Check(v))
{

View File

@ -107,7 +107,7 @@ PyObject *TXNObj_New(TXNObject itself)
it->ob_itself = itself;
return (PyObject *)it;
}
TXNObj_Convert(PyObject *v, TXNObject *p_itself)
int TXNObj_Convert(PyObject *v, TXNObject *p_itself)
{
if (!TXNObj_Check(v))
{
@ -1094,7 +1094,7 @@ PyObject *TXNFontMenuObj_New(TXNFontMenuObject itself)
it->ob_itself = itself;
return (PyObject *)it;
}
TXNFontMenuObj_Convert(PyObject *v, TXNFontMenuObject *p_itself)
int TXNFontMenuObj_Convert(PyObject *v, TXNFontMenuObject *p_itself)
{
if (!TXNFontMenuObj_Check(v))
{

View File

@ -163,7 +163,7 @@ PyObject *GrafObj_New(GrafPtr itself)
it->ob_itself = itself;
return (PyObject *)it;
}
GrafObj_Convert(PyObject *v, GrafPtr *p_itself)
int GrafObj_Convert(PyObject *v, GrafPtr *p_itself)
{
#if 1
{
@ -414,7 +414,7 @@ PyObject *BMObj_New(BitMapPtr itself)
it->referred_bitmap = NULL;
return (PyObject *)it;
}
BMObj_Convert(PyObject *v, BitMapPtr *p_itself)
int BMObj_Convert(PyObject *v, BitMapPtr *p_itself)
{
if (!BMObj_Check(v))
{

View File

@ -55,7 +55,7 @@ PyObject *GWorldObj_New(GWorldPtr itself)
it->ob_itself = itself;
return (PyObject *)it;
}
GWorldObj_Convert(PyObject *v, GWorldPtr *p_itself)
int GWorldObj_Convert(PyObject *v, GWorldPtr *p_itself)
{
if (!GWorldObj_Check(v))
{

View File

@ -112,7 +112,7 @@ PyObject *MovieCtlObj_New(MovieController itself)
it->ob_itself = itself;
return (PyObject *)it;
}
MovieCtlObj_Convert(PyObject *v, MovieController *p_itself)
int MovieCtlObj_Convert(PyObject *v, MovieController *p_itself)
{
if (!MovieCtlObj_Check(v))
{
@ -974,7 +974,7 @@ PyObject *TimeBaseObj_New(TimeBase itself)
it->ob_itself = itself;
return (PyObject *)it;
}
TimeBaseObj_Convert(PyObject *v, TimeBase *p_itself)
int TimeBaseObj_Convert(PyObject *v, TimeBase *p_itself)
{
if (!TimeBaseObj_Check(v))
{
@ -1368,7 +1368,7 @@ PyObject *UserDataObj_New(UserData itself)
it->ob_itself = itself;
return (PyObject *)it;
}
UserDataObj_Convert(PyObject *v, UserData *p_itself)
int UserDataObj_Convert(PyObject *v, UserData *p_itself)
{
if (!UserDataObj_Check(v))
{
@ -1645,7 +1645,7 @@ PyObject *MediaObj_New(Media itself)
it->ob_itself = itself;
return (PyObject *)it;
}
MediaObj_Convert(PyObject *v, Media *p_itself)
int MediaObj_Convert(PyObject *v, Media *p_itself)
{
if (!MediaObj_Check(v))
{
@ -2679,7 +2679,7 @@ PyObject *TrackObj_New(Track itself)
it->ob_itself = itself;
return (PyObject *)it;
}
TrackObj_Convert(PyObject *v, Track *p_itself)
int TrackObj_Convert(PyObject *v, Track *p_itself)
{
if (!TrackObj_Check(v))
{
@ -3766,7 +3766,7 @@ PyObject *MovieObj_New(Movie itself)
it->ob_itself = itself;
return (PyObject *)it;
}
MovieObj_Convert(PyObject *v, Movie *p_itself)
int MovieObj_Convert(PyObject *v, Movie *p_itself)
{
if (!MovieObj_Check(v))
{

View File

@ -65,7 +65,7 @@ PyObject *ResObj_New(Handle itself)
it->ob_freeit = NULL;
return (PyObject *)it;
}
ResObj_Convert(PyObject *v, Handle *p_itself)
int ResObj_Convert(PyObject *v, Handle *p_itself)
{
if (!ResObj_Check(v))
{

View File

@ -80,7 +80,7 @@ static PyObject *SndCh_New(SndChannelPtr itself)
it->ob_A5 = SetCurrentA5();
return (PyObject *)it;
}
static SndCh_Convert(PyObject *v, SndChannelPtr *p_itself)
static int SndCh_Convert(PyObject *v, SndChannelPtr *p_itself)
{
if (!SndCh_Check(v))
{

View File

@ -82,7 +82,7 @@ PyObject *TEObj_New(TEHandle itself)
it->ob_itself = itself;
return (PyObject *)it;
}
TEObj_Convert(PyObject *v, TEHandle *p_itself)
int TEObj_Convert(PyObject *v, TEHandle *p_itself)
{
if (!TEObj_Check(v))
{

View File

@ -82,7 +82,7 @@ PyObject *WinObj_New(WindowPtr itself)
}
return (PyObject *)it;
}
WinObj_Convert(PyObject *v, WindowPtr *p_itself)
int WinObj_Convert(PyObject *v, WindowPtr *p_itself)
{
if (v == Py_None) { *p_itself = NULL; return 1; }