PageRenderTime 46ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-27/SWIG/Lib/guile/swigrun.i

#
Swig | 49 lines | 27 code | 15 blank | 7 comment | 0 complexity | b01078f02c6ac64f19db543a1296506c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. /* -*- mode: c -*- */
  2. %module swigrun
  3. #ifdef SWIGGUILE_SCM
  4. /* Hook the runtime module initialization
  5. into the shared initialization function SWIG_Guile_Init. */
  6. %runtime %{
  7. /* Hook the runtime module initialization
  8. into the shared initialization function SWIG_Guile_Init. */
  9. #include <libguile.h>
  10. #ifdef __cplusplus
  11. extern "C"
  12. #endif
  13. SCM scm_init_Swig_swigrun_module (void);
  14. #define SWIG_INIT_RUNTIME_MODULE scm_init_Swig_swigrun_module();
  15. %}
  16. /* The runtime type system from common.swg */
  17. typedef struct swig_type_info swig_type_info;
  18. const char *
  19. SWIG_TypeName(const swig_type_info *type);
  20. const char *
  21. SWIG_TypePrettyName(const swig_type_info *type);
  22. swig_type_info *
  23. SWIG_TypeQuery(const char *);
  24. /* Language-specific stuff */
  25. %apply bool { int };
  26. int
  27. SWIG_IsPointer(SCM object);
  28. int
  29. SWIG_IsPointerOfType(SCM object, swig_type_info *type);
  30. unsigned long
  31. SWIG_PointerAddress(SCM object);
  32. swig_type_info *
  33. SWIG_PointerType(SCM object);
  34. #endif