Kaydet (Commit) a8b47fe5 authored tarafından Guido van Rossum's avatar Guido van Rossum

I can't seem to do anything right :-)

As Chris H. points out, I should have added 'extern' to the
declaration of _PyThreadState_Current.  Here it is.
üst 6058eb49
...@@ -104,7 +104,7 @@ DL_IMPORT(PyObject *) PyThreadState_GetDict Py_PROTO((void)); ...@@ -104,7 +104,7 @@ DL_IMPORT(PyObject *) PyThreadState_GetDict Py_PROTO((void));
/* Variable and macro for in-line access to current thread state */ /* Variable and macro for in-line access to current thread state */
DL_IMPORT(PyThreadState *) _PyThreadState_Current; extern DL_IMPORT(PyThreadState *) _PyThreadState_Current;
#ifdef Py_DEBUG #ifdef Py_DEBUG
#define PyThreadState_GET() PyThreadState_Get() #define PyThreadState_GET() PyThreadState_Get()
......
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