source-engine/devtools/swigwin-1.3.34/Lib/runtime.swg

39 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-04-22 16:56:21 +00:00
/* -----------------------------------------------------------------------------*
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