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:
parent
872422e8eb
commit
dbdcf4462c
22 changed files with 98 additions and 83 deletions
|
|
@ -9,11 +9,6 @@
|
|||
* ------------------------------------------------------------ */
|
||||
%include <perlmacros.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Error manipulation
|
||||
* ------------------------------------------------------------ */
|
||||
%include <perlerrors.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* The runtime part
|
||||
* ------------------------------------------------------------ */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue