Show More
@@ -20,6 +20,11 b' extern "C" {' | |||||
20 | #include "frameobject.h" // PyFrameObject, PyFrame_GetBack() |
|
20 | #include "frameobject.h" // PyFrameObject, PyFrame_GetBack() | |
21 |
|
21 | |||
22 |
|
22 | |||
|
23 | /* VC 2008 doesn't know about the inline keyword. */ | |||
|
24 | #if defined(_MSC_VER) && _MSC_VER < 1900 | |||
|
25 | #define inline __forceinline | |||
|
26 | #endif | |||
|
27 | ||||
23 | // Cast argument to PyObject* type. |
|
28 | // Cast argument to PyObject* type. | |
24 | #ifndef _PyObject_CAST |
|
29 | #ifndef _PyObject_CAST | |
25 | # define _PyObject_CAST(op) ((PyObject*)(op)) |
|
30 | # define _PyObject_CAST(op) ((PyObject*)(op)) |
@@ -20,6 +20,11 b' extern "C" {' | |||||
20 | #include "frameobject.h" // PyFrameObject, PyFrame_GetBack() |
|
20 | #include "frameobject.h" // PyFrameObject, PyFrame_GetBack() | |
21 |
|
21 | |||
22 |
|
22 | |||
|
23 | /* VC 2008 doesn't know about the inline keyword. */ | |||
|
24 | #if defined(_MSC_VER) && _MSC_VER < 1900 | |||
|
25 | #define inline __forceinline | |||
|
26 | #endif | |||
|
27 | ||||
23 | // Cast argument to PyObject* type. |
|
28 | // Cast argument to PyObject* type. | |
24 | #ifndef _PyObject_CAST |
|
29 | #ifndef _PyObject_CAST | |
25 | # define _PyObject_CAST(op) ((PyObject*)(op)) |
|
30 | # define _PyObject_CAST(op) ((PyObject*)(op)) |
General Comments 0
You need to be logged in to leave comments.
Login now