Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | /* ---------------------------------------------------------------------- |
2 | * ruby.swg | |
3 | * | |
4 | * Ruby configuation file. | |
5 | * ---------------------------------------------------------------------- */ | |
6 | ||
7 | %runtime "rubyhead.swg" | |
8 | %runtime "swigrun.swg" /* Common C API type-checking code */ | |
9 | %runtime "rubytracking.swg" /* API for tracking C++ classes to Ruby objects */ | |
10 | %runtime "rubydef.swg" | |
11 | ||
12 | %insert(initbeforefunc) "swiginit.swg" | |
13 | ||
14 | #define %alias %feature("alias") | |
15 | #define %freefunc %feature("freefunc") | |
16 | #define %markfunc %feature("markfunc") | |
17 | #define %mixin %feature("mixin") | |
18 | #define %predicate %feature("predicate", "1") | |
19 | #define %trackobjects %feature("trackobjects") | |
20 | ||
21 | /* ----------------------------------------------------------------------------- | |
22 | * SWIGTYPE typemaps | |
23 | * ----------------------------------------------------------------------------- */ | |
24 | ||
25 | %include "rubyswigtype.swg" | |
26 | ||
27 | /* ----------------------------------------------------------------------------- | |
28 | * Typemap specializations | |
29 | * ----------------------------------------------------------------------------- */ | |
30 | ||
31 | %include "rubyvoid.swg" | |
32 | %include "rubyobject.swg" | |
33 | %include "rubystrings.swg" | |
34 | %include "rubyprimtypes.swg" | |
35 | %include "rubymisctypes.swg" | |
36 | %include "rubyenum.swg" | |
37 | ||
38 | /* ------------------------------------------------------------ | |
39 | * Overloaded operator support | |
40 | * ------------------------------------------------------------ */ | |
41 | %include "rubyopers.swg" | |
42 | ||
43 | /* ------------------------------------------------------------ | |
44 | * Warnings for Ruby keywords | |
45 | * ------------------------------------------------------------ */ | |
46 | %include "rubykw.swg" | |
47 |