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
ddf24861
Commit
ddf24861
authored
Nov 06, 2017
by
scoder
Committed by
GitHub
Nov 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1980 from jdemeyer/type_functions_except
Add 'except' values for various function types
parents
c0cbb673
4e87c5ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Cython/Includes/cpython/object.pxd
Cython/Includes/cpython/object.pxd
+10
-10
No files found.
Cython/Includes/cpython/object.pxd
View file @
ddf24861
...
...
@@ -10,26 +10,26 @@ cdef extern from "Python.h":
ctypedef
object
(
*
unaryfunc
)(
object
)
ctypedef
object
(
*
binaryfunc
)(
object
,
object
)
ctypedef
object
(
*
ternaryfunc
)(
object
,
object
,
object
)
ctypedef
int
(
*
inquiry
)(
object
)
ctypedef
Py_ssize_t
(
*
lenfunc
)(
object
)
ctypedef
int
(
*
inquiry
)(
object
)
except
-
1
ctypedef
Py_ssize_t
(
*
lenfunc
)(
object
)
except
-
1
ctypedef
object
(
*
ssizeargfunc
)(
object
,
Py_ssize_t
)
ctypedef
object
(
*
ssizessizeargfunc
)(
object
,
Py_ssize_t
,
Py_ssize_t
)
ctypedef
int
(
*
ssizeobjargproc
)(
object
,
Py_ssize_t
,
object
)
ctypedef
int
(
*
ssizessizeobjargproc
)(
object
,
Py_ssize_t
,
Py_ssize_t
,
object
)
ctypedef
int
(
*
objobjargproc
)(
object
,
object
,
object
)
ctypedef
int
(
*
objobjproc
)(
object
,
object
)
ctypedef
int
(
*
ssizeobjargproc
)(
object
,
Py_ssize_t
,
object
)
except
-
1
ctypedef
int
(
*
ssizessizeobjargproc
)(
object
,
Py_ssize_t
,
Py_ssize_t
,
object
)
except
-
1
ctypedef
int
(
*
objobjargproc
)(
object
,
object
,
object
)
except
-
1
ctypedef
int
(
*
objobjproc
)(
object
,
object
)
except
-
1
ctypedef
Py_hash_t
(
*
hashfunc
)(
object
)
ctypedef
Py_hash_t
(
*
hashfunc
)(
object
)
except
-
1
ctypedef
object
(
*
reprfunc
)(
object
)
ctypedef
int
(
*
cmpfunc
)(
object
,
object
)
ctypedef
int
(
*
cmpfunc
)(
object
,
object
)
except
-
2
ctypedef
object
(
*
richcmpfunc
)(
object
,
object
,
int
)
# The following functions use 'PyObject*' as first argument instead of 'object' to prevent
# accidental reference counting when calling them during a garbage collection run.
ctypedef
void
(
*
destructor
)(
PyObject
*
)
ctypedef
int
(
*
visitproc
)(
PyObject
*
,
void
*
)
ctypedef
int
(
*
traverseproc
)(
PyObject
*
,
visitproc
,
void
*
)
ctypedef
int
(
*
visitproc
)(
PyObject
*
,
void
*
)
except
-
1
ctypedef
int
(
*
traverseproc
)(
PyObject
*
,
visitproc
,
void
*
)
except
-
1
ctypedef
object
(
*
descrgetfunc
)(
object
,
object
,
object
)
ctypedef
int
(
*
descrsetfunc
)(
object
,
object
,
object
)
except
-
1
...
...
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