Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
b89ca8ea
Commit
b89ca8ea
authored
8 years ago
by
Jeroen Demeyer
Committed by
Stefan Behnel
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tp_dict and tp_descr_* declarations
parent
23cf4735
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Cython/Includes/cpython/object.pxd
Cython/Includes/cpython/object.pxd
+7
-0
No files found.
Cython/Includes/cpython/object.pxd
View file @
b89ca8ea
...
...
@@ -31,6 +31,9 @@ cdef extern from "Python.h":
ctypedef
int
(
*
visitproc
)(
PyObject
*
,
void
*
)
ctypedef
int
(
*
traverseproc
)(
PyObject
*
,
visitproc
,
void
*
)
ctypedef
object
(
*
descrgetfunc
)(
object
,
object
,
object
)
ctypedef
int
(
*
descrsetfunc
)(
object
,
object
,
object
)
except
-
1
ctypedef
struct
PyTypeObject
:
const
char
*
tp_name
const
char
*
tp_doc
...
...
@@ -53,6 +56,10 @@ cdef extern from "Python.h":
richcmpfunc
tp_richcompare
PyTypeObject
*
tp_base
PyObject
*
tp_dict
descrgetfunc
tp_descr_get
descrsetfunc
tp_descr_set
ctypedef
struct
PyObject
:
Py_ssize_t
ob_refcnt
...
...
This diff is collapsed.
Click to expand it.
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