Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / share / swig / 1.3.26 / guile / swigrun.i
CommitLineData
920dae64
AT
1/* -*- mode: c -*- */
2
3%module swigrun
4
5#ifdef SWIGGUILE_SCM
6
7/* Hook the runtime module initialization
8 into the shared initialization function SWIG_Guile_Init. */
9%runtime %{
10/* Hook the runtime module initialization
11 into the shared initialization function SWIG_Guile_Init. */
12#include <libguile.h>
13#ifdef __cplusplus
14extern "C"
15#endif
16SCM scm_init_Swig_swigrun_module (void);
17#define SWIG_INIT_RUNTIME_MODULE scm_init_Swig_swigrun_module();
18%}
19
20/* The runtime type system from common.swg */
21
22typedef struct swig_type_info swig_type_info;
23
24const char *
25SWIG_TypeName(const swig_type_info *type);
26
27const char *
28SWIG_TypePrettyName(const swig_type_info *type);
29
30swig_type_info *
31SWIG_TypeQuery(const char *);
32
33/* Language-specific stuff */
34
35%apply bool { int };
36
37int
38SWIG_IsPointer(SCM object);
39
40int
41SWIG_IsPointerOfType(SCM object, swig_type_info *type);
42
43unsigned long
44SWIG_PointerAddress(SCM object);
45
46swig_type_info *
47SWIG_PointerType(SCM object);
48
49#endif