git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
64 lines
2.2 KiB
Text
64 lines
2.2 KiB
Text
/* ------------------------------------------------------------
|
|
* ruby.swg
|
|
*
|
|
* Ruby configuration module.
|
|
* ------------------------------------------------------------ */
|
|
|
|
/* ------------------------------------------------------------
|
|
* The Ruby auto rename rules
|
|
* ------------------------------------------------------------ */
|
|
#if defined(SWIG_RUBY_AUTORENAME)
|
|
/* Class names are CamelCase */
|
|
%rename("%(camelcase)s", %isclass) "";
|
|
|
|
/* Constants are UPPER_CASE */
|
|
%rename("%(uppercase)s",%isvariable,%isimmutable) "";
|
|
%rename("%(uppercase)s", %isconstant) "";
|
|
|
|
/* Method names should be changed so that they are
|
|
lower_case_with_underscores */
|
|
%rename("%(undercase)s", %isfunction, %ismember) "";
|
|
#endif
|
|
|
|
/* ------------------------------------------------------------
|
|
* Inner macros
|
|
* ------------------------------------------------------------ */
|
|
%include <rubymacros.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* Error manipulation
|
|
* ------------------------------------------------------------ */
|
|
%include <rubyerrors.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* The runtime part
|
|
* ------------------------------------------------------------ */
|
|
%include <rubyruntime.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* Special user directives
|
|
* ------------------------------------------------------------ */
|
|
%include <rubyuserdir.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* Typemap specializations
|
|
* ------------------------------------------------------------ */
|
|
%include <rubytypemaps.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* Overloaded operator support
|
|
* ------------------------------------------------------------ */
|
|
%include <rubyopers.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* Warnings for Ruby keywords
|
|
* ------------------------------------------------------------ */
|
|
%include <rubykw.swg>
|
|
|
|
/* ------------------------------------------------------------
|
|
* The Ruby initialization function
|
|
* ------------------------------------------------------------ */
|
|
%include <rubyinit.swg>
|
|
|
|
|
|
|