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
This commit is contained in:
parent
7f6cabe172
commit
18fb19afc1
1 changed files with 13 additions and 0 deletions
|
|
@ -4,6 +4,19 @@
|
||||||
|
|
||||||
#ifdef SWIGGUILE_SCM
|
#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 <libguile.h>
|
||||||
|
#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 */
|
/* The runtime type system from common.swg */
|
||||||
|
|
||||||
typedef struct swig_type_info swig_type_info;
|
typedef struct swig_type_info swig_type_info;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue