1899
|
1 #ifndef SWIGEXPORT
|
|
2 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
|
3 # if defined(STATIC_LINKED)
|
|
4 # define SWIGEXPORT
|
|
5 # else
|
|
6 # define SWIGEXPORT __declspec(dllexport)
|
|
7 # endif
|
|
8 # else
|
|
9 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
|
|
10 # define SWIGEXPORT __attribute__ ((visibility("default")))
|
|
11 # else
|
|
12 # define SWIGEXPORT
|
|
13 # endif
|
|
14 # endif
|
|
15 #endif
|
|
16
|
|
17 static void *ptr = 0;
|
|
18 SWIGEXPORT void *
|
|
19 SWIG_ReturnGlobalTypeList(void *t) {
|
|
20 if (!ptr && !t) ptr = t;
|
|
21 return ptr;
|
|
22 }
|