include the user's fragment file in the same place

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-20 09:58:19 +00:00
commit 2811e2a09a
6 changed files with 52 additions and 60 deletions

View file

@ -1,38 +1,37 @@
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* python.swg * python.swg
* *
* Python configuration module. * Python configuration module.
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
/* /* ------------------------------------------------------------
bool type in python is too much generic, we invert order for proper
resolution.
*/
/* -----------------------------------------------------------------------------
* Inner macros * Inner macros
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <pymacros.swg> %include <pymacros.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Error manipulation * Error manipulation
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <pyerrors.swg> %include <pyerrors.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* The runtime part * The runtime part
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <pyruntime.swg> %include <pyruntime.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Special user directives * Special user directives
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <pyuserdir.swg> %include <pyuserdir.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Typemap specializations * Look for user fragments file.
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include "pyfragments.swg"
/* ------------------------------------------------------------
* Typemap specializations
* ------------------------------------------------------------ */
%include <pytypemaps.swg> %include <pytypemaps.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
@ -48,7 +47,6 @@
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* The Python autodoc support * The Python autodoc support
* ------------------------------------------------------------ */ * ------------------------------------------------------------ */
%include <pydocs.swg> %include <pydocs.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------

View file

@ -30,8 +30,6 @@
* All the typemaps * All the typemaps
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
%include "pyfragments.swg"
%include <typemaps/exception.swg> %include <typemaps/exception.swg>
%include <pyswigtype.swg> %include <pyswigtype.swg>
%include <typemaps/void.swg> %include <typemaps/void.swg>

View file

@ -1,37 +1,37 @@
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* ruby.swg * ruby.swg
* *
* Ruby configuration module. * Ruby configuration module.
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Inner macros * Inner macros
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <rubymacros.swg> %include <rubymacros.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Error manipulation * Error manipulation
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <rubyerrors.swg> %include <rubyerrors.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* The runtime part * The runtime part
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <rubyruntime.swg> %include <rubyruntime.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Special user directives * Special user directives
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <rubyuserdir.swg> %include <rubyuserdir.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Look for user fragments file. If not found, include empty system one. * Look for user fragments file.
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include "rubyfragments.swg" %include "rubyfragments.swg"
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Typemap specializations * Typemap specializations
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <rubytypemaps.swg> %include <rubytypemaps.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
@ -40,12 +40,12 @@
%include <rubyopers.swg> %include <rubyopers.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* Warnings for Python keywords * Warnings for Ruby keywords
* ------------------------------------------------------------ */ * ------------------------------------------------------------ */
%include <rubykw.swg> %include <rubykw.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* The Python initialization function * The Ruby initialization function
* ------------------------------------------------------------ */ * ------------------------------------------------------------ */
%include <rubyinit.swg> %include <rubyinit.swg>

View file

@ -2,7 +2,7 @@
* Typemap specializations * Typemap specializations
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
/* directors are supported in Python */ /* directors are supported in Ruby */
#ifndef SWIG_DIRECTOR_TYPEMAPS #ifndef SWIG_DIRECTOR_TYPEMAPS
#define SWIG_DIRECTOR_TYPEMAPS #define SWIG_DIRECTOR_TYPEMAPS
#endif #endif
@ -25,8 +25,6 @@
* All the typemaps * All the typemaps
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
%include "rubyfragments.swg"
%include <typemaps/exception.swg> %include <typemaps/exception.swg>
%include <typemaps/swigtype.swg> %include <typemaps/swigtype.swg>
%include <typemaps/void.swg> %include <typemaps/void.swg>

View file

@ -1,37 +1,37 @@
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* tcl.swg * tcl.swg
* *
* Tcl configuration module. * Tcl configuration module.
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Inner macros * Inner macros
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <tclmacros.swg> %include <tclmacros.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Error manipulation * Error manipulation
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <tclerrors.swg> %include <tclerrors.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* The runtime part * The runtime part
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <tclruntime.swg> %include <tclruntime.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Special user directives * Special user directives
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <tcluserdir.swg> %include <tcluserdir.swg>
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Look for user fragments file. If not found, include empty system one. * Look for user fragments file.
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include "tclfragments.swg" %include "tclfragments.swg"
/* ----------------------------------------------------------------------------- /* ------------------------------------------------------------
* Typemap specializations * Typemap specializations
* ----------------------------------------------------------------------------- */ * ------------------------------------------------------------ */
%include <tcltypemaps.swg> %include <tcltypemaps.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
@ -40,12 +40,12 @@
%include <tclopers.swg> %include <tclopers.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* Warnings for Python keywords * Warnings for Tcl keywords
* ------------------------------------------------------------ */ * ------------------------------------------------------------ */
%include <tclkw.swg> %include <tclkw.swg>
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* The Python initialization function * The Tcl initialization function
* ------------------------------------------------------------ */ * ------------------------------------------------------------ */
%include <tclinit.swg> %include <tclinit.swg>

View file

@ -24,8 +24,6 @@
* All the typemaps * All the typemaps
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
%include "tclfragments.swg"
%include <typemaps/exception.swg> %include <typemaps/exception.swg>
%include <tclswigtype.swg> %include <tclswigtype.swg>
%include <typemaps/void.swg> %include <typemaps/void.swg>