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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
27d729a1
Commit
27d729a1
authored
Aug 28, 2019
by
Stefan Behnel
Committed by
GitHub
Aug 28, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Consistently name "closure" argument for Cython functions (GH-3104)
parents
8282f3f8
e6e4e2e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+9
-9
No files found.
Cython/Utility/CythonFunction.c
View file @
27d729a1
...
...
@@ -49,12 +49,12 @@ static PyTypeObject *__pyx_CyFunctionType = 0;
#define __Pyx_CyFunction_Check(obj) (__Pyx_TypeCheck(obj, __pyx_CyFunctionType))
#define __Pyx_CyFunction_NewEx(ml, flags, qualname,
self
, module, globals, code) \
__Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, qualname,
self
, module, globals, code)
#define __Pyx_CyFunction_NewEx(ml, flags, qualname,
closure
, module, globals, code) \
__Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, qualname,
closure
, module, globals, code)
static
PyObject
*
__Pyx_CyFunction_New
(
PyTypeObject
*
,
PyMethodDef
*
ml
,
static
PyObject
*
__Pyx_CyFunction_New
(
PyTypeObject
*
type
,
PyMethodDef
*
ml
,
int
flags
,
PyObject
*
qualname
,
PyObject
*
self
,
PyObject
*
closure
,
PyObject
*
module
,
PyObject
*
globals
,
PyObject
*
code
);
...
...
@@ -797,11 +797,11 @@ typedef struct {
PyObject
*
self
;
}
__pyx_FusedFunctionObject
;
#define __pyx_FusedFunction_NewEx(ml, flags, qualname,
self
, module, globals, code) \
__pyx_FusedFunction_New(__pyx_FusedFunctionType, ml, flags, qualname,
self
, module, globals, code)
#define __pyx_FusedFunction_NewEx(ml, flags, qualname,
closure
, module, globals, code) \
__pyx_FusedFunction_New(__pyx_FusedFunctionType, ml, flags, qualname,
closure
, module, globals, code)
static
PyObject
*
__pyx_FusedFunction_New
(
PyTypeObject
*
type
,
PyMethodDef
*
ml
,
int
flags
,
PyObject
*
qualname
,
PyObject
*
self
,
PyObject
*
qualname
,
PyObject
*
closure
,
PyObject
*
module
,
PyObject
*
globals
,
PyObject
*
code
);
...
...
@@ -816,13 +816,13 @@ static int __pyx_FusedFunction_init(void);
static
PyObject
*
__pyx_FusedFunction_New
(
PyTypeObject
*
type
,
PyMethodDef
*
ml
,
int
flags
,
PyObject
*
qualname
,
PyObject
*
self
,
PyObject
*
qualname
,
PyObject
*
closure
,
PyObject
*
module
,
PyObject
*
globals
,
PyObject
*
code
)
{
__pyx_FusedFunctionObject
*
fusedfunc
=
(
__pyx_FusedFunctionObject
*
)
__Pyx_CyFunction_New
(
type
,
ml
,
flags
,
qualname
,
self
,
module
,
globals
,
code
);
closure
,
module
,
globals
,
code
);
if
(
!
fusedfunc
)
return
NULL
;
...
...
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