summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
diff options
context:
space:
mode:
authorgastineau <gastineau@imcce.fr>2019-01-02 14:49:16 +0100
committerStefan Behnel <stefan_ml@behnel.de>2019-01-02 14:57:23 +0100
commit006105ef930d55b99e96c857428838e699c3a1ec (patch)
tree34b5669c68e4a6a5ef081fd55e1a8bbbf492adc7 /Cython/Utility/ModuleSetupCode.c
parent9c50ee378d30eff8f171b6c5c449a8d5bace2d59 (diff)
downloadcython-006105ef930d55b99e96c857428838e699c3a1ec.tar.gz
fix the comments to have a c89 compliant generated code
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r--Cython/Utility/ModuleSetupCode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c
index e49fbb06a..bc52ca204 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -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))