include the user's fragment file in the same place
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bd7b3fcb1d
commit
cacea2c73d
6 changed files with 52 additions and 60 deletions
|
|
@ -1,38 +1,37 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* python.swg
|
||||
*
|
||||
* Python configuration module.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
|
||||
/*
|
||||
bool type in python is too much generic, we invert order for proper
|
||||
resolution.
|
||||
*/
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Inner macros
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <pymacros.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Error manipulation
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <pyerrors.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* The runtime part
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <pyruntime.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Special user directives
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <pyuserdir.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Typemap specializations
|
||||
* ----------------------------------------------------------------------------- */
|
||||
/* ------------------------------------------------------------
|
||||
* Look for user fragments file.
|
||||
* ------------------------------------------------------------ */
|
||||
%include "pyfragments.swg"
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Typemap specializations
|
||||
* ------------------------------------------------------------ */
|
||||
%include <pytypemaps.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
@ -48,7 +47,6 @@
|
|||
/* ------------------------------------------------------------
|
||||
* The Python autodoc support
|
||||
* ------------------------------------------------------------ */
|
||||
|
||||
%include <pydocs.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@
|
|||
* All the typemaps
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%include "pyfragments.swg"
|
||||
|
||||
%include <typemaps/exception.swg>
|
||||
%include <pyswigtype.swg>
|
||||
%include <typemaps/void.swg>
|
||||
|
|
|
|||
|
|
@ -1,37 +1,37 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* ruby.swg
|
||||
*
|
||||
* Ruby configuration module.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Inner macros
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubymacros.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Error manipulation
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyerrors.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* The runtime part
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyruntime.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Special user directives
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyuserdir.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Look for user fragments file. If not found, include empty system one.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
/* ------------------------------------------------------------
|
||||
* Look for user fragments file.
|
||||
* ------------------------------------------------------------ */
|
||||
%include "rubyfragments.swg"
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Typemap specializations
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubytypemaps.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
@ -40,12 +40,12 @@
|
|||
%include <rubyopers.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Warnings for Python keywords
|
||||
* Warnings for Ruby keywords
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubykw.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* The Python initialization function
|
||||
* The Ruby initialization function
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyinit.swg>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Typemap specializations
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* directors are supported in Python */
|
||||
/* directors are supported in Ruby */
|
||||
#ifndef SWIG_DIRECTOR_TYPEMAPS
|
||||
#define SWIG_DIRECTOR_TYPEMAPS
|
||||
#endif
|
||||
|
|
@ -25,8 +25,6 @@
|
|||
* All the typemaps
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%include "rubyfragments.swg"
|
||||
|
||||
%include <typemaps/exception.swg>
|
||||
%include <typemaps/swigtype.swg>
|
||||
%include <typemaps/void.swg>
|
||||
|
|
|
|||
|
|
@ -1,37 +1,37 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* tcl.swg
|
||||
*
|
||||
* Tcl configuration module.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Inner macros
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tclmacros.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Error manipulation
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tclerrors.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* The runtime part
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tclruntime.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Special user directives
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tcluserdir.swg>
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Look for user fragments file. If not found, include empty system one.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
/* ------------------------------------------------------------
|
||||
* Look for user fragments file.
|
||||
* ------------------------------------------------------------ */
|
||||
%include "tclfragments.swg"
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
/* ------------------------------------------------------------
|
||||
* Typemap specializations
|
||||
* ----------------------------------------------------------------------------- */
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tcltypemaps.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
@ -40,12 +40,12 @@
|
|||
%include <tclopers.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Warnings for Python keywords
|
||||
* Warnings for Tcl keywords
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tclkw.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* The Python initialization function
|
||||
* The Tcl initialization function
|
||||
* ------------------------------------------------------------ */
|
||||
%include <tclinit.swg>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@
|
|||
* All the typemaps
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%include "tclfragments.swg"
|
||||
|
||||
%include <typemaps/exception.swg>
|
||||
%include <tclswigtype.swg>
|
||||
%include <typemaps/void.swg>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue