diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-05 15:36:57 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-05 15:36:57 (GMT) |
commit | ff8dec7427ac1084ea375bbf904e365138b69aae (patch) | |
tree | 87a4c988fc8375b1052a7819e166ca445cfbf760 /Mac/Modules | |
parent | a4741ffe63940709b45992f463bca8f59c259843 (diff) | |
download | cpython-ff8dec7427ac1084ea375bbf904e365138b69aae.zip cpython-ff8dec7427ac1084ea375bbf904e365138b69aae.tar.gz cpython-ff8dec7427ac1084ea375bbf904e365138b69aae.tar.bz2 |
Got rid of staticforward.
Diffstat (limited to 'Mac/Modules')
-rw-r--r-- | Mac/Modules/ctl/ctlsupport.py | 8 | ||||
-rw-r--r-- | Mac/Modules/mlte/mltesupport.py | 8 | ||||
-rw-r--r-- | Mac/Modules/qd/qdsupport.py | 2 | ||||
-rw-r--r-- | Mac/Modules/waste/wastesupport.py | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/Mac/Modules/ctl/ctlsupport.py b/Mac/Modules/ctl/ctlsupport.py index b773290..bf3c91d 100644 --- a/Mac/Modules/ctl/ctlsupport.py +++ b/Mac/Modules/ctl/ctlsupport.py @@ -128,7 +128,7 @@ extern int _CtlObj_Convert(PyObject *, ControlHandle *); #define CtlObj_Convert _CtlObj_Convert #endif -staticforward PyObject *CtlObj_WhichControl(ControlHandle); +static PyObject *CtlObj_WhichControl(ControlHandle); #define as_Control(h) ((ControlHandle)h) #define as_Resource(ctl) ((Handle)ctl) @@ -232,9 +232,9 @@ static ControlUserPaneIdleUPP myidleproc_upp; static ControlUserPaneHitTestUPP myhittestproc_upp; static ControlUserPaneTrackingUPP mytrackingproc_upp; -staticforward int settrackfunc(PyObject *); /* forward */ -staticforward void clrtrackfunc(void); /* forward */ -staticforward int setcallback(PyObject *, OSType, PyObject *, UniversalProcPtr *); +static int settrackfunc(PyObject *); /* forward */ +static void clrtrackfunc(void); /* forward */ +static int setcallback(PyObject *, OSType, PyObject *, UniversalProcPtr *); """ finalstuff = finalstuff + """ diff --git a/Mac/Modules/mlte/mltesupport.py b/Mac/Modules/mlte/mltesupport.py index e2f5767..bc7c7a1 100644 --- a/Mac/Modules/mlte/mltesupport.py +++ b/Mac/Modules/mlte/mltesupport.py @@ -27,10 +27,10 @@ includestuff = includestuff + """ #endif /* For now we declare them forward here. They'll go to mactoolbox later */ -staticforward PyObject *TXNObj_New(TXNObject); -staticforward int TXNObj_Convert(PyObject *, TXNObject *); -staticforward PyObject *TXNFontMenuObj_New(TXNFontMenuObject); -staticforward int TXNFontMenuObj_Convert(PyObject *, TXNFontMenuObject *); +static PyObject *TXNObj_New(TXNObject); +static int TXNObj_Convert(PyObject *, TXNObject *); +static PyObject *TXNFontMenuObj_New(TXNFontMenuObject); +static int TXNFontMenuObj_Convert(PyObject *, TXNFontMenuObject *); // ADD declarations #ifdef NOTYET_USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/qd/qdsupport.py b/Mac/Modules/qd/qdsupport.py index b19533a..73c87d1 100644 --- a/Mac/Modules/qd/qdsupport.py +++ b/Mac/Modules/qd/qdsupport.py @@ -157,7 +157,7 @@ extern int _QdRGB_Convert(PyObject *, RGBColorPtr); #define QDIsPortBuffered(port) 0 #endif /* !TARGET_API_MAC_CARBON */ -staticforward PyObject *BMObj_NewCopied(BitMapPtr); +static PyObject *BMObj_NewCopied(BitMapPtr); /* ** Parse/generate RGB records diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py index 35261cf..40701c5 100644 --- a/Mac/Modules/waste/wastesupport.py +++ b/Mac/Modules/waste/wastesupport.py @@ -73,8 +73,8 @@ extern PyObject *AEDesc_New(AppleEvent *); extern int AEDesc_Convert(PyObject *, AppleEvent *); /* Forward declaration */ -staticforward PyObject *WEOObj_New(WEObjectReference); -staticforward PyObject *ExistingwasteObj_New(WEReference); +static PyObject *WEOObj_New(WEObjectReference); +static PyObject *ExistingwasteObj_New(WEReference); /* ** Parse/generate TextStyle records |