update esl swig to swig 2.0 and reswig

This commit is contained in:
Brian West
2015-06-16 12:43:53 -05:00
parent 6a903e2397
commit 54762dd197
29 changed files with 2455 additions and 2599 deletions

View File

@@ -1,16 +1,16 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.35
# Version 2.0.12
#
# Don't modify this file, modify the SWIG interface instead.
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
package ESL;
require Exporter;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
use base qw(Exporter);
use base qw(DynaLoader);
package ESLc;
bootstrap ESL;
package ESL;
@EXPORT = qw( );
@EXPORT = qw();
# ---------- BASE METHODS -------------

View File

@@ -18,7 +18,7 @@ perlmod-install: install-perlLTLIBRARIES
endif
esl_wrap.cpp:
swig -module ESL -shadow -perl5 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
swig2.0 -module ESL -shadow -perl5 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
perlxsi.c:
$(PERL) -MExtUtils::Embed -e xsinit -- -o perlxsi.c

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,6 @@
#include <EXTERN.h>
#include <perl.h>
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
EXTERN_C void xs_init (pTHX);
@@ -8,9 +9,10 @@ EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
EXTERN_C void
xs_init(pTHX)
{
char *file = __FILE__;
dXSUB_SYS;
static const char file[] = __FILE__;
dXSUB_SYS;
PERL_UNUSED_CONTEXT;
/* DynaLoader is a special case */
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
/* DynaLoader is a special case */
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
}