diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-02 14:54:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-02 14:54:30 +0100 |
commit | bc46bf6ead76b69cd896d1e1aa2b31e1dac51682 (patch) | |
tree | d4e0df9a4f70a3e984c736e5e6d486c6ea62a9c8 | |
parent | cac84684592c45dd784df8021ec7e2426d3954f3 (diff) | |
parent | 2afc33166ad3ac6a80bea65475df00f8bb4f49e9 (diff) | |
download | cython-bc46bf6ead76b69cd896d1e1aa2b31e1dac51682.tar.gz |
Merge pull request #2778 from gastineau/master
fix the comments to have a c89 compliant generated code
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index 7642bcc2b..79e7e5f12 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -480,7 +480,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)); @@ -505,7 +505,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)) |