forked from swig/swig
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathruntime.swg
38 lines (29 loc) · 1.21 KB
/
runtime.swg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* -----------------------------------------------------------------------------*
Standard SWIG API for use inside user code.
Don't include this file directly, run the command
swig -python -external-runtime
Also, read the Modules chapter of the SWIG Manual.
* -----------------------------------------------------------------------------*/
#ifdef SWIG_MODULE_CLIENTDATA_TYPE
SWIGRUNTIMEINLINE swig_type_info *
SWIG_TypeQuery(SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name) {
swig_module_info *module = SWIG_GetModule(clientdata);
return SWIG_TypeQueryModule(module, module, name);
}
SWIGRUNTIMEINLINE swig_type_info *
SWIG_MangledTypeQuery(SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name) {
swig_module_info *module = SWIG_GetModule(clientdata);
return SWIG_MangledTypeQueryModule(module, module, name);
}
#else
SWIGRUNTIMEINLINE swig_type_info *
SWIG_TypeQuery(const char *name) {
swig_module_info *module = SWIG_GetModule(NULL);
return SWIG_TypeQueryModule(module, module, name);
}
SWIGRUNTIMEINLINE swig_type_info *
SWIG_MangledTypeQuery(const char *name) {
swig_module_info *module = SWIG_GetModule(NULL);
return SWIG_MangledTypeQueryModule(module, module, name);
}
#endif