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
8cdf4410
Commit
8cdf4410
authored
Apr 25, 1995
by
Sjoerd Mullender
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DL_IMPORT needs an argument.
parent
273c5303
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Include/object.h
Include/object.h
+2
-2
Include/tupleobject.h
Include/tupleobject.h
+1
-1
No files found.
Include/object.h
View file @
8cdf4410
...
...
@@ -237,7 +237,7 @@ typedef struct _typeobject {
#endif
}
PyTypeObject
;
extern
DL_IMPORT
PyTypeObject
PyType_Type
;
/* The type of type objects */
extern
DL_IMPORT
(
PyTypeObject
)
PyType_Type
;
/* The type of type objects */
#define PyType_Check(op) ((op)->ob_type == &PyType_Type)
...
...
@@ -354,7 +354,7 @@ where NULL (nil) is not suitable (since NULL often means 'error').
Don't forget to apply Py_INCREF() when returning this value!!!
*/
extern
DL_IMPORT
PyObject
_Py_NoneStruct
;
/* Don't use this directly */
extern
DL_IMPORT
(
PyObject
)
_Py_NoneStruct
;
/* Don't use this directly */
#define Py_None (&_Py_NoneStruct)
...
...
Include/tupleobject.h
View file @
8cdf4410
...
...
@@ -49,7 +49,7 @@ typedef struct {
PyObject
*
ob_item
[
1
];
}
PyTupleObject
;
extern
DL_IMPORT
PyTypeObject
PyTuple_Type
;
extern
DL_IMPORT
(
PyTypeObject
)
PyTuple_Type
;
#define PyTuple_Check(op) ((op)->ob_type == &PyTuple_Type)
...
...
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