Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1d00ef7f
Commit
1d00ef7f
authored
May 22, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include Carbon/Carbon.h if appropriate.
Fixed glue initialization code so prototype is correct.
parent
e403347c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Mac/Include/pymactoolbox.h
Mac/Include/pymactoolbox.h
+5
-5
No files found.
Mac/Include/pymactoolbox.h
View file @
1d00ef7f
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
** These macros are used in the module init code. If we use toolbox object glue
** These macros are used in the module init code. If we use toolbox object glue
** it sets the function pointer to point to the real function.
** it sets the function pointer to point to the real function.
*/
*/
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(rtn) { \
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(
object,
rtn) { \
extern PyObject *(*PyMacGluePtr_##rtn)(object); \
extern PyObject *(*PyMacGluePtr_##rtn)(object); \
PyMacGluePtr_##rtn = _##rtn; \
PyMacGluePtr_##rtn = _##rtn; \
}
}
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(rtn) { \
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(
object,
rtn) { \
extern int (*PyMacGluePtr_##rtn)(
object
); \
extern int (*PyMacGluePtr_##rtn)(
PyObject *, object *
); \
PyMacGluePtr_##rtn = _##rtn; \
PyMacGluePtr_##rtn = _##rtn; \
}
}
#else
#else
...
@@ -38,8 +38,8 @@
...
@@ -38,8 +38,8 @@
** If we don't use toolbox object glue the init macros are empty. Moreover, we define
** If we don't use toolbox object glue the init macros are empty. Moreover, we define
** _xxx_New to be the same as xxx_New, and the code in mactoolboxglue isn't included.
** _xxx_New to be the same as xxx_New, and the code in mactoolboxglue isn't included.
*/
*/
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(rtn)
#define PyMac_INIT_TOOLBOX_OBJECT_NEW(
object,
rtn)
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(rtn)
#define PyMac_INIT_TOOLBOX_OBJECT_CONVERT(
object,
rtn)
#endif
/* USE_TOOLBOX_OBJECT_GLUE */
#endif
/* USE_TOOLBOX_OBJECT_GLUE */
/* AE exports */
/* AE exports */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment