Commit d02cc4c5 authored by Robert Bradshaw's avatar Robert Bradshaw

Use ANSI style comments for all generated code.

parent 3d4f7a19
...@@ -162,7 +162,7 @@ static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info); ...@@ -162,7 +162,7 @@ static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts); static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts);
static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx, static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
__Pyx_BufFmt_StackElem* stack, __Pyx_BufFmt_StackElem* stack,
__Pyx_TypeInfo* type); // PROTO __Pyx_TypeInfo* type); /* PROTO */
/////////////// BufferFormatCheck /////////////// /////////////// BufferFormatCheck ///////////////
......
...@@ -139,7 +139,7 @@ static CYTHON_INLINE PyObject* __Pyx_Coroutine_AIter_Yield_From(__pyx_CoroutineO ...@@ -139,7 +139,7 @@ static CYTHON_INLINE PyObject* __Pyx_Coroutine_AIter_Yield_From(__pyx_CoroutineO
#if PY_VERSION_HEX < 0x030500B2 #if PY_VERSION_HEX < 0x030500B2
if (!__Pyx_PyType_AsAsync(source)) { if (!__Pyx_PyType_AsAsync(source)) {
#ifdef __Pyx_Coroutine_USED #ifdef __Pyx_Coroutine_USED
if (!__Pyx_Coroutine_CheckExact(source)) // quickly rule out a likely case if (!__Pyx_Coroutine_CheckExact(source)) /* quickly rule out a likely case */
#endif #endif
{ {
// same as above in slow // same as above in slow
......
...@@ -1620,8 +1620,8 @@ done: ...@@ -1620,8 +1620,8 @@ done:
Py_LeaveRecursiveCall(); Py_LeaveRecursiveCall();
return result; return result;
} }
#endif // CPython < 3.6 #endif /* CPython < 3.6 */
#endif // CYTHON_FAST_PYCALL #endif /* CYTHON_FAST_PYCALL */
/////////////// PyCFunctionFastCall.proto /////////////// /////////////// PyCFunctionFastCall.proto ///////////////
...@@ -1652,7 +1652,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, P ...@@ -1652,7 +1652,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, P
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL); return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
} }
#endif // CYTHON_FAST_PYCCALL #endif /* CYTHON_FAST_PYCCALL */
/////////////// PyObjectCallOneArg.proto /////////////// /////////////// PyObjectCallOneArg.proto ///////////////
......
...@@ -265,7 +265,7 @@ static CYTHON_INLINE {{TYPE}} __Pyx_{{BINOP}}_{{NAME}}_checking_overflow({{TYPE} ...@@ -265,7 +265,7 @@ static CYTHON_INLINE {{TYPE}} __Pyx_{{BINOP}}_{{NAME}}_checking_overflow({{TYPE}
return __Pyx_{{BINOP}}_unsigned_long_long_checking_overflow(a, b, overflow); return __Pyx_{{BINOP}}_unsigned_long_long_checking_overflow(a, b, overflow);
#endif #endif
} else { } else {
abort(); return 0; // handled elsewhere abort(); return 0; /* handled elsewhere */
} }
} else { } else {
if (sizeof({{TYPE}}) == sizeof(int)) { if (sizeof({{TYPE}}) == sizeof(int)) {
...@@ -277,7 +277,7 @@ static CYTHON_INLINE {{TYPE}} __Pyx_{{BINOP}}_{{NAME}}_checking_overflow({{TYPE} ...@@ -277,7 +277,7 @@ static CYTHON_INLINE {{TYPE}} __Pyx_{{BINOP}}_{{NAME}}_checking_overflow({{TYPE}
return __Pyx_{{BINOP}}_long_long_checking_overflow(a, b, overflow); return __Pyx_{{BINOP}}_long_long_checking_overflow(a, b, overflow);
#endif #endif
} else { } else {
abort(); return 0; // handled elsewhere abort(); return 0; /* handled elsewhere */
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment