runtime.swg 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* -----------------------------------------------------------------------------*
  2. Standard SWIG API for use inside user code.
  3. Don't include this file directly, run the command
  4. swig -python -external-runtime
  5. Also, read the Modules chapter of the SWIG Manual.
  6. * -----------------------------------------------------------------------------*/
  7. #ifdef SWIG_MODULE_CLIENTDATA_TYPE
  8. SWIGRUNTIMEINLINE swig_type_info *
  9. SWIG_TypeQuery(SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name) {
  10. swig_module_info *module = SWIG_GetModule(clientdata);
  11. return SWIG_TypeQueryModule(module, module, name);
  12. }
  13. SWIGRUNTIMEINLINE swig_type_info *
  14. SWIG_MangledTypeQuery(SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name) {
  15. swig_module_info *module = SWIG_GetModule(clientdata);
  16. return SWIG_MangledTypeQueryModule(module, module, name);
  17. }
  18. #else
  19. SWIGRUNTIMEINLINE swig_type_info *
  20. SWIG_TypeQuery(const char *name) {
  21. swig_module_info *module = SWIG_GetModule(NULL);
  22. return SWIG_TypeQueryModule(module, module, name);
  23. }
  24. SWIGRUNTIMEINLINE swig_type_info *
  25. SWIG_MangledTypeQuery(const char *name) {
  26. swig_module_info *module = SWIG_GetModule(NULL);
  27. return SWIG_MangledTypeQueryModule(module, module, name);
  28. }
  29. #endif