annotate lib/swig/swigwin-2.0.11/Lib/linkruntime.c @ 2208:0b2eea6f80c9

for video in homes
author Ritor1
date Wed, 12 Feb 2014 16:33:12 +0600
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 #ifndef SWIGEXPORT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 # if defined(STATIC_LINKED)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 # define SWIGEXPORT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 # else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6 # define SWIGEXPORT __declspec(dllexport)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 # endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 # else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10 # define SWIGEXPORT __attribute__ ((visibility("default")))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11 # else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12 # define SWIGEXPORT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 # endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 # endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 static void *ptr = 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 SWIGEXPORT void *
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 SWIG_ReturnGlobalTypeList(void *t) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 if (!ptr && !t) ptr = t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 return ptr;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 }