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
38211af1
Commit
38211af1
authored
Mar 06, 2019
by
gsamain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make CyObject struct appear earlier than type definitions
parent
1bd29b0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Cython/Utility/ModuleSetupCode.c
Cython/Utility/ModuleSetupCode.c
+4
-0
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+0
-4
No files found.
Cython/Utility/ModuleSetupCode.c
View file @
38211af1
...
@@ -1545,3 +1545,7 @@ static void __Pyx_FastGilFuncInit(void) {
...
@@ -1545,3 +1545,7 @@ static void __Pyx_FastGilFuncInit(void) {
CyObject_ATOMIC_REFCOUNT_TYPE ob_refcnt; \
CyObject_ATOMIC_REFCOUNT_TYPE ob_refcnt; \
void (*cdealloc)(void* self);
void (*cdealloc)(void* self);
struct
CyObject
{
CyObject_HEAD
};
Cython/Utility/ObjectHandling.c
View file @
38211af1
...
@@ -1600,10 +1600,6 @@ try_unpack:
...
@@ -1600,10 +1600,6 @@ try_unpack:
// int ob_refcnt; \
// int ob_refcnt; \
// void (*cdealloc)(void * self);
// void (*cdealloc)(void * self);
struct
CyObject
{
CyObject_HEAD
};
/* Cast argument to PyObject* type. */
/* Cast argument to PyObject* type. */
#define _CyObject_CAST(op) ((struct CyObject*)(op))
#define _CyObject_CAST(op) ((struct CyObject*)(op))
...
...
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