Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
965 B

  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