From 18fb19afc16f0672dafa57a1df01295428e1765d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6ppe?= Date: Sat, 24 Jul 2004 15:21:17 +0000 Subject: [PATCH] Move the magic with the (Swig swigrun) module here. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6068 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/guile/swigrun.i | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Lib/guile/swigrun.i b/Lib/guile/swigrun.i index eec8a2bb4..4b9ea2c79 100644 --- a/Lib/guile/swigrun.i +++ b/Lib/guile/swigrun.i @@ -4,6 +4,19 @@ #ifdef SWIGGUILE_SCM +/* Hook the runtime module initialization + into the shared initialization function SWIG_Guile_Init. */ +%runtime %{ +/* Hook the runtime module initialization + into the shared initialization function SWIG_Guile_Init. */ +#include +#ifdef __cplusplus +extern "C" +#endif +SCM scm_init_Swig_swigrun_module (void); +#define SWIG_INIT_RUNTIME_MODULE scm_init_Swig_swigrun_module(); +%} + /* The runtime type system from common.swg */ typedef struct swig_type_info swig_type_info;