aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/pyenum.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-08-19 15:22:28 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-08-19 15:53:03 -0300
commit307e16cc9378a96cb937e44f42bb6a1548c77a99 (patch)
treef2aa18b0c0656d63194c743fc830aad33e94e1ce /libshiboken/pyenum.h
parentf056f08a8495f89037292b3c273aba254610ee8a (diff)
Fix problems with dllimport/dllexport in some shiboken functions/variables.
Diffstat (limited to 'libshiboken/pyenum.h')
-rw-r--r--libshiboken/pyenum.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libshiboken/pyenum.h b/libshiboken/pyenum.h
index 43a8d5142..1a5bfae5a 100644
--- a/libshiboken/pyenum.h
+++ b/libshiboken/pyenum.h
@@ -50,10 +50,10 @@ typedef struct {
PyObject* ob_name;
} SbkEnumObject;
-LIBSHIBOKEN_API PyAPI_DATA(PyTypeObject) SbkEnumType_Type;
+extern LIBSHIBOKEN_API PyTypeObject SbkEnumType_Type;
-LIBSHIBOKEN_API PyAPI_FUNC(PyObject*) SbkEnumObject_repr(PyObject* self);
-LIBSHIBOKEN_API PyAPI_FUNC(PyObject*) SbkEnumObject_name(PyObject* self);
+LIBSHIBOKEN_API PyObject* SbkEnumObject_repr(PyObject* self);
+LIBSHIBOKEN_API PyObject* SbkEnumObject_name(PyObject* self);
} // extern "C"