All type sharing happens through a global variable in the target language. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
43 lines
1.4 KiB
Text
43 lines
1.4 KiB
Text
/* ----------------------------------------------------------------------
|
|
* ruby.swg
|
|
*
|
|
* Ruby configuation file.
|
|
* ---------------------------------------------------------------------- */
|
|
|
|
%runtime "rubyhead.swg"
|
|
%runtime "common.swg"
|
|
%runtime "rubydef.swg"
|
|
|
|
#define %alias %feature("alias")
|
|
#define %freefunc %feature("freefunc")
|
|
#define %markfunc %feature("markfunc")
|
|
#define %mixin %feature("mixin")
|
|
#define %predicate %feature("predicate", "1")
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* SWIGTYPE typemaps
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
%include "rubyswigtype.swg"
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Typemap specializations
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
%include "rubyvoid.swg"
|
|
%include "rubyobject.swg"
|
|
%include "rubystrings.swg"
|
|
%include "rubyprimtypes.swg"
|
|
%include "rubymisctypes.swg"
|
|
%include "rubyenum.swg"
|
|
|
|
/* ------------------------------------------------------------
|
|
* Overloaded operator support
|
|
* ------------------------------------------------------------ */
|
|
%include "rubyopers.swg"
|
|
|
|
/* ------------------------------------------------------------
|
|
* Warnings for Ruby keywords
|
|
* ------------------------------------------------------------ */
|
|
%include "rubykw.swg"
|
|
|