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
56d18dc5
Commit
56d18dc5
authored
Jul 14, 2013
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable C compiler warning about unused helper function in Py2
parent
4649d6f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
21 deletions
+12
-21
Cython/Utility/Builtins.c
Cython/Utility/Builtins.c
+12
-21
No files found.
Cython/Utility/Builtins.c
View file @
56d18dc5
...
@@ -266,54 +266,45 @@ static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_abs_longlong(PY_LONG_LONG x) {
...
@@ -266,54 +266,45 @@ static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_abs_longlong(PY_LONG_LONG x) {
//////////////////// py_dict_keys.proto ////////////////////
//////////////////// py_dict_keys.proto ////////////////////
#if PY_MAJOR_VERSION >= 3
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Keys
(
PyObject
*
d
);
/*proto*/
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Keys
(
PyObject
*
d
);
/*proto*/
#else
#define __Pyx_PyDict_Keys(d) PyDict_Keys(d)
#endif
//////////////////// py_dict_keys ////////////////////
//////////////////// py_dict_keys ////////////////////
//@requires: ObjectHandling.c::PyObjectCallMethod
//@requires: ObjectHandling.c::PyObjectCallMethod
#if PY_MAJOR_VERSION >= 3
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Keys
(
PyObject
*
d
)
{
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Keys
(
PyObject
*
d
)
{
if
(
PY_MAJOR_VERSION
>=
3
)
return
__Pyx_PyObject_CallMethod1
((
PyObject
*
)
&
PyDict_Type
,
PYIDENT
(
"keys"
),
d
);
return
__Pyx_PyObject_CallMethod1
((
PyObject
*
)
&
PyDict_Type
,
PYIDENT
(
"keys"
),
d
);
else
return
PyDict_Keys
(
d
);
}
}
#endif
//////////////////// py_dict_values.proto ////////////////////
//////////////////// py_dict_values.proto ////////////////////
#if PY_MAJOR_VERSION >= 3
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Values
(
PyObject
*
d
);
/*proto*/
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Values
(
PyObject
*
d
);
/*proto*/
#else
#define __Pyx_PyDict_Values(d) PyDict_Values(d)
#endif
//////////////////// py_dict_values ////////////////////
//////////////////// py_dict_values ////////////////////
//@requires: ObjectHandling.c::PyObjectCallMethod
//@requires: ObjectHandling.c::PyObjectCallMethod
#if PY_MAJOR_VERSION >= 3
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Values
(
PyObject
*
d
)
{
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Values
(
PyObject
*
d
)
{
if
(
PY_MAJOR_VERSION
>=
3
)
return
__Pyx_PyObject_CallMethod1
((
PyObject
*
)
&
PyDict_Type
,
PYIDENT
(
"values"
),
d
);
return
__Pyx_PyObject_CallMethod1
((
PyObject
*
)
&
PyDict_Type
,
PYIDENT
(
"values"
),
d
);
else
return
PyDict_Values
(
d
);
}
}
#endif
//////////////////// py_dict_items.proto ////////////////////
//////////////////// py_dict_items.proto ////////////////////
#if PY_MAJOR_VERSION >= 3
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Items
(
PyObject
*
d
);
/*proto*/
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Items
(
PyObject
*
d
);
/*proto*/
#else
#define __Pyx_PyDict_Items(d) PyDict_Items(d)
#endif
//////////////////// py_dict_items ////////////////////
//////////////////// py_dict_items ////////////////////
//@requires: ObjectHandling.c::PyObjectCallMethod
//@requires: ObjectHandling.c::PyObjectCallMethod
#if PY_MAJOR_VERSION >= 3
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Items
(
PyObject
*
d
)
{
static
CYTHON_INLINE
PyObject
*
__Pyx_PyDict_Items
(
PyObject
*
d
)
{
if
(
PY_MAJOR_VERSION
>=
3
)
return
__Pyx_PyObject_CallMethod1
((
PyObject
*
)
&
PyDict_Type
,
PYIDENT
(
"items"
),
d
);
return
__Pyx_PyObject_CallMethod1
((
PyObject
*
)
&
PyDict_Type
,
PYIDENT
(
"items"
),
d
);
else
return
PyDict_Items
(
d
);
}
}
#endif
//////////////////// py_dict_iterkeys.proto ////////////////////
//////////////////// py_dict_iterkeys.proto ////////////////////
...
...
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