PageRenderTime 25ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Lib/runtime.swg

#
Unknown | 38 lines | 29 code | 9 blank | 0 comment | 0 complexity | 4984784d44157f5fcbbcd8f494882002 MD5 | raw file
 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
12SWIGRUNTIMEINLINE swig_type_info *
13SWIG_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
18SWIGRUNTIMEINLINE swig_type_info *
19SWIG_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
26SWIGRUNTIMEINLINE swig_type_info *
27SWIG_TypeQuery(const char *name) {
28  swig_module_info *module = SWIG_GetModule(NULL);
29  return SWIG_TypeQueryModule(module, module, name);
30}
31
32SWIGRUNTIMEINLINE swig_type_info *
33SWIG_MangledTypeQuery(const char *name) {
34  swig_module_info *module = SWIG_GetModule(NULL);
35  return SWIG_MangledTypeQueryModule(module, module, name);
36}
37
38#endif