From: William Stein Date: Sun, 29 Jul 2007 16:38:20 +0000 (-0700) Subject: Fixed some typos reported by Helmut Jarausch X-Git-Tag: 0.9.6.14~29^2~166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=213f5c7772db7fc2504768ec601aa392a7784330;p=cython.git Fixed some typos reported by Helmut Jarausch --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 6f18ed0a..92730120 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -2593,7 +2593,7 @@ utility_function_predeclarations = \ #ifdef __GNUC__ #define INLINE __inline__ #elif _WIN32 -#define INILNE __inline +#define INLINE __inline #else #define INLINE #endif @@ -2603,7 +2603,7 @@ typedef struct {PyObject **p; char *s;} __Pyx_InternTabEntry; /*proto*/ typedef struct {PyObject **p; char *s; long n;} __Pyx_StringTabEntry; /*proto*/ #define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False)) -static INILNE int __Pyx_PyObject_IsTrue(PyObject* x) { +static INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { if (x == Py_True) return 1; else if (x == Py_False) return 0; else return PyObject_IsTrue(x);