comparison lib/swig/swigwin-2.0.11/Lib/runtime.swg @ 1899:b3009adc0e2f

Adding swig, gitignore, hgignore
author Nomad
date Mon, 21 Oct 2013 10:42:27 +0200
parents
children
comparison
equal deleted inserted replaced
1867:eb580660bbbb 1899:b3009adc0e2f
1 /* -----------------------------------------------------------------------------*
2 Standard SWIG API for use inside user code.
3
4 Don't include this file directly, run the command
5 swig -python -external-runtime
6 Also, read the Modules chapter of the SWIG Manual.
7
8 * -----------------------------------------------------------------------------*/
9
10 #ifdef SWIG_MODULE_CLIENTDATA_TYPE
11
12 SWIGRUNTIMEINLINE swig_type_info *
13 SWIG_TypeQuery(SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name) {
14 swig_module_info *module = SWIG_GetModule(clientdata);
15 return SWIG_TypeQueryModule(module, module, name);
16 }
17
18 SWIGRUNTIMEINLINE swig_type_info *
19 SWIG_MangledTypeQuery(SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name) {
20 swig_module_info *module = SWIG_GetModule(clientdata);
21 return SWIG_MangledTypeQueryModule(module, module, name);
22 }
23
24 #else
25
26 SWIGRUNTIMEINLINE swig_type_info *
27 SWIG_TypeQuery(const char *name) {
28 swig_module_info *module = SWIG_GetModule(NULL);
29 return SWIG_TypeQueryModule(module, module, name);
30 }
31
32 SWIGRUNTIMEINLINE swig_type_info *
33 SWIG_MangledTypeQuery(const char *name) {
34 swig_module_info *module = SWIG_GetModule(NULL);
35 return SWIG_MangledTypeQueryModule(module, module, name);
36 }
37
38 #endif