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
Kirill Smelkov
cython
Commits
006105ef
Commit
006105ef
authored
Jan 02, 2019
by
gastineau
Committed by
Stefan Behnel
Jan 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the comments to have a c89 compliant generated code
parent
9c50ee37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Utility/ModuleSetupCode.c
Cython/Utility/ModuleSetupCode.c
+2
-2
No files found.
Cython/Utility/ModuleSetupCode.c
View file @
006105ef
...
...
@@ -489,7 +489,7 @@ class __Pyx_FakeReference {
typedef
int
Py_tss_t
;
static
CYTHON_INLINE
int
PyThread_tss_create
(
Py_tss_t
*
key
)
{
*
key
=
PyThread_create_key
();
return
0
;
/
/ PyThread_create_key reports success always
return
0
;
/
* PyThread_create_key reports success always */
}
static
CYTHON_INLINE
Py_tss_t
*
PyThread_tss_alloc
(
void
)
{
Py_tss_t
*
key
=
(
Py_tss_t
*
)
PyObject_Malloc
(
sizeof
(
Py_tss_t
));
...
...
@@ -514,7 +514,7 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
}
// PyThread_delete_key_value(key) is equalivalent to PyThread_set_key_value(key, NULL)
// PyThread_ReInitTLS() is a no-op
#endif /
/ TSS (Thread Specific Storage) API
#endif
/
* TSS (Thread Specific Storage) API */
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
#define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
...
...
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