Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff8dec7

Browse files
committed
Got rid of staticforward.
1 parent a4741ff commit ff8dec7

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

Mac/Modules/ctl/ctlsupport.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def cleanup(self, name):
128128
#define CtlObj_Convert _CtlObj_Convert
129129
#endif
130130
131-
staticforward PyObject *CtlObj_WhichControl(ControlHandle);
131+
static PyObject *CtlObj_WhichControl(ControlHandle);
132132
133133
#define as_Control(h) ((ControlHandle)h)
134134
#define as_Resource(ctl) ((Handle)ctl)
@@ -232,9 +232,9 @@ def cleanup(self, name):
232232
static ControlUserPaneHitTestUPP myhittestproc_upp;
233233
static ControlUserPaneTrackingUPP mytrackingproc_upp;
234234
235-
staticforward int settrackfunc(PyObject *); /* forward */
236-
staticforward void clrtrackfunc(void); /* forward */
237-
staticforward int setcallback(PyObject *, OSType, PyObject *, UniversalProcPtr *);
235+
static int settrackfunc(PyObject *); /* forward */
236+
static void clrtrackfunc(void); /* forward */
237+
static int setcallback(PyObject *, OSType, PyObject *, UniversalProcPtr *);
238238
"""
239239

240240
finalstuff = finalstuff + """

Mac/Modules/mlte/mltesupport.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
#endif
2828
2929
/* For now we declare them forward here. They'll go to mactoolbox later */
30-
staticforward PyObject *TXNObj_New(TXNObject);
31-
staticforward int TXNObj_Convert(PyObject *, TXNObject *);
32-
staticforward PyObject *TXNFontMenuObj_New(TXNFontMenuObject);
33-
staticforward int TXNFontMenuObj_Convert(PyObject *, TXNFontMenuObject *);
30+
static PyObject *TXNObj_New(TXNObject);
31+
static int TXNObj_Convert(PyObject *, TXNObject *);
32+
static PyObject *TXNFontMenuObj_New(TXNFontMenuObject);
33+
static int TXNFontMenuObj_Convert(PyObject *, TXNFontMenuObject *);
3434
3535
// ADD declarations
3636
#ifdef NOTYET_USE_TOOLBOX_OBJECT_GLUE

Mac/Modules/qd/qdsupport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def declareSize(self, name):
157157
#define QDIsPortBuffered(port) 0
158158
#endif /* !TARGET_API_MAC_CARBON */
159159
160-
staticforward PyObject *BMObj_NewCopied(BitMapPtr);
160+
static PyObject *BMObj_NewCopied(BitMapPtr);
161161
162162
/*
163163
** Parse/generate RGB records

Mac/Modules/waste/wastesupport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
extern int AEDesc_Convert(PyObject *, AppleEvent *);
7474
7575
/* Forward declaration */
76-
staticforward PyObject *WEOObj_New(WEObjectReference);
77-
staticforward PyObject *ExistingwasteObj_New(WEReference);
76+
static PyObject *WEOObj_New(WEObjectReference);
77+
static PyObject *ExistingwasteObj_New(WEReference);
7878
7979
/*
8080
** Parse/generate TextStyle records

0 commit comments

Comments
 (0)