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
f8b6c7bb
Commit
f8b6c7bb
authored
Jul 08, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor code simplification
parent
ad774681
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-2
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+2
-1
No files found.
Cython/Compiler/ExprNodes.py
View file @
f8b6c7bb
...
...
@@ -10027,8 +10027,7 @@ proto="""
(((x) < 0) & ((unsigned long)(x) == 0-(unsigned long)(x)))
"""
)
binding_cfunc_utility_code
=
TempitaUtilityCode
.
load
(
"CythonFunction"
,
context
=
vars
(
Naming
))
binding_cfunc_utility_code
=
UtilityCode
.
load_cached
(
"CythonFunction"
,
"CythonFunction.c"
)
fused_function_utility_code
=
TempitaUtilityCode
.
load
(
"FusedFunction"
,
"CythonFunction.c"
,
...
...
Cython/Utility/CythonFunction.c
View file @
f8b6c7bb
...
...
@@ -59,6 +59,7 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m,
static
int
__Pyx_CyFunction_init
(
void
);
//////////////////// CythonFunction ////////////////////
//@substitute: naming
static
PyObject
*
__Pyx_CyFunction_get_doc
(
__pyx_CyFunctionObject
*
op
,
CYTHON_UNUSED
void
*
closure
)
...
...
@@ -181,7 +182,7 @@ __Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
static
PyObject
*
__Pyx_CyFunction_get_globals
(
CYTHON_UNUSED
__pyx_CyFunctionObject
*
op
)
{
PyObject
*
dict
=
PyModule_GetDict
(
{{
module_cname
}
});
PyObject
*
dict
=
PyModule_GetDict
(
$
{
module_cname
});
Py_XINCREF
(
dict
);
return
dict
;
}
...
...
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