fix -external-runtime and warning arounds in subversion

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-01 08:37:53 +00:00
commit dbdcf4462c
22 changed files with 98 additions and 83 deletions

View file

@ -9,11 +9,6 @@
* ------------------------------------------------------------ */
%include <perlmacros.swg>
/* ------------------------------------------------------------
* Error manipulation
* ------------------------------------------------------------ */
%include <perlerrors.swg>
/* ------------------------------------------------------------
* The runtime part
* ------------------------------------------------------------ */

View file

@ -2,10 +2,6 @@
* error manipulation
* ----------------------------------------------------------------------------- */
%insert("runtime") "swigerrors.swg"
%insert("header") %{
SWIGINTERN const char*
SWIG_Perl_ErrorType(int code) {
const char* type = 0;
@ -49,6 +45,5 @@ SWIG_Perl_ErrorType(int code) {
return type;
}
%}

View file

@ -1,5 +1,6 @@
%runtime "swigrun.swg" // Common C API type-checking code
%runtime "swigerrors.swg" // SWIG errors
%runtime "perlrun.swg" // Perl runtime functions
%runtime "noembed.h" // undefine Perl5 macros