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
5c719a8a
Commit
5c719a8a
authored
Feb 02, 2009
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refnanny now supports C++ plus fix C warning (latter by Lisandro)
parent
bd84ca53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
Cython/Compiler/ModuleNode.py
Cython/Compiler/ModuleNode.py
+11
-11
No files found.
Cython/Compiler/ModuleNode.py
View file @
5c719a8a
...
@@ -2323,20 +2323,20 @@ bad:
...
@@ -2323,20 +2323,20 @@ bad:
refcount_utility_code
=
UtilityCode
(
proto
=
"""
refcount_utility_code
=
UtilityCode
(
proto
=
"""
#ifdef CYTHON_REFNANNY
#ifdef CYTHON_REFNANNY
void __Pyx_Refnanny_INCREF(void*, PyObject*, int);
__PYX_EXTERN_C
void __Pyx_Refnanny_INCREF(void*, PyObject*, int);
void __Pyx_Refnanny_GOTREF(void*, PyObject*, int);
__PYX_EXTERN_C
void __Pyx_Refnanny_GOTREF(void*, PyObject*, int);
void __Pyx_Refnanny_GIVEREF(void*, PyObject*, int);
__PYX_EXTERN_C
void __Pyx_Refnanny_GIVEREF(void*, PyObject*, int);
void __Pyx_Refnanny_INCREF(void*, PyObject*, int);
__PYX_EXTERN_C
void __Pyx_Refnanny_INCREF(void*, PyObject*, int);
void __Pyx_Refnanny_DECREF(void*, PyObject*, int);
__PYX_EXTERN_C
void __Pyx_Refnanny_DECREF(void*, PyObject*, int);
void* __Pyx_Refnanny_NewContext(char*, int);
__PYX_EXTERN_C
void* __Pyx_Refnanny_NewContext(char*, int);
int __Pyx_Refnanny_FinishContext(void*);
__PYX_EXTERN_C
int __Pyx_Refnanny_FinishContext(void*);
#define __Pyx_INCREF(r) __Pyx_Refnanny_INCREF(__pyx_refchk, r, __LINE__)
#define __Pyx_INCREF(r) __Pyx_Refnanny_INCREF(__pyx_refchk, r, __LINE__)
#define __Pyx_GOTREF(r) __Pyx_Refnanny_GOTREF(__pyx_refchk, r, __LINE__)
#define __Pyx_GOTREF(r) __Pyx_Refnanny_GOTREF(__pyx_refchk, r, __LINE__)
#define __Pyx_GIVEREF(r) __Pyx_Refnanny_GIVEREF(__pyx_refchk, r, __LINE__)
#define __Pyx_GIVEREF(r) __Pyx_Refnanny_GIVEREF(__pyx_refchk, r, __LINE__)
#define __Pyx_DECREF(r) __Pyx_Refnanny_DECREF(__pyx_refchk, r, __LINE__)
#define __Pyx_DECREF(r) __Pyx_Refnanny_DECREF(__pyx_refchk, r, __LINE__)
#define __Pyx_XDECREF(r)
(r ? __Pyx_Refnanny_DECREF(__pyx_refchk, r, __LINE__) : 0
)
#define __Pyx_XDECREF(r)
if((r) == NULL) ; else __Pyx_DECREF(r
)
#define __Pyx_SetupRefcountContext(name)
\
#define __Pyx_SetupRefcountContext(name)
\
void* __pyx_refchk = __Pyx_Refnanny_NewContext(name, __LINE__)
void* __pyx_refchk = __Pyx_Refnanny_NewContext(
(char*)
name, __LINE__)
#define __Pyx_FinishRefcountContext() __Pyx_Refnanny_FinishContext(__pyx_refchk)
#define __Pyx_FinishRefcountContext() __Pyx_Refnanny_FinishContext(__pyx_refchk)
#else
#else
#define __Pyx_INCREF(r) Py_INCREF(r)
#define __Pyx_INCREF(r) Py_INCREF(r)
...
@@ -2347,6 +2347,6 @@ int __Pyx_Refnanny_FinishContext(void*);
...
@@ -2347,6 +2347,6 @@ int __Pyx_Refnanny_FinishContext(void*);
#define __Pyx_SetupRefcountContext(name)
#define __Pyx_SetupRefcountContext(name)
#define __Pyx_FinishRefcountContext() 0
#define __Pyx_FinishRefcountContext() 0
#endif /* CYTHON_REFNANNY */
#endif /* CYTHON_REFNANNY */
#define __Pyx_XGIVEREF(r)
(r ? __Pyx_GIVEREF(r) : 0
)
#define __Pyx_XGIVEREF(r)
if((r) == NULL) ; else __Pyx_GIVEREF(r
)
#define __Pyx_XGOTREF(r)
(r ? __Pyx_GOTREF(r) : 0
)
#define __Pyx_XGOTREF(r)
if((r) == NULL) ; else __Pyx_GOTREF(r
)
"""
)
"""
)
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