fixes for 'typedef unsigned long size_t'

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-07 07:38:09 +00:00
commit 28df9d1049
6 changed files with 40 additions and 18 deletions

View file

@ -16,6 +16,8 @@
char cvsroot_perl5_cxx[] = "$Header$";
#include "swigmod.h"
#include "cparse.h"
static int treduce = SWIG_cparse_template_reduce(1);
#include <ctype.h>
@ -128,6 +130,7 @@ public:
int cppcast = 1;
SWIG_library_directory("perl5");
for (i = 1; i < argc; i++) {
if (argv[i]) {
if(strcmp(argv[i],"-package") == 0) {

View file

@ -13,6 +13,7 @@ char cvsroot_python_cxx[] = "$Header$";
#include "swigmod.h"
#include "cparse.h"
static int treduce = SWIG_cparse_template_reduce(1);
#include <ctype.h>
@ -1461,7 +1462,8 @@ public:
/* Insert cleanup code */
for (p = l; p;) {
if (!checkAttribute(p,"tmap:in:numinputs","0") && (tm = Getattr(p,"tmap:freearg"))) {
if (!checkAttribute(p,"tmap:in:numinputs","0") &&
!Getattr(p,"tmap:in:parse") && (tm = Getattr(p,"tmap:freearg"))) {
if (Len(tm) != 0) {
Replaceall(tm,"$source",Getattr(p,"lname"));
Printv(cleanup,tm,"\n",NIL);

View file

@ -13,6 +13,9 @@
char cvsroot_ruby_cxx[] = "$Header$";
#include "swigmod.h"
#include "cparse.h"
static int treduce = SWIG_cparse_template_reduce(1);
#define SWIG_PROTECTED_TARGET_METHODS 1
#include <ctype.h>

View file

@ -23,6 +23,8 @@
char cvsroot_tcl8_cxx[] = "$Header$";
#include "swigmod.h"
#include "cparse.h"
static int treduce = SWIG_cparse_template_reduce(1);
static const char *usage = (char*)"\
Tcl 8 Options (available with -tcl)\n\
@ -418,7 +420,8 @@ public:
/* Insert cleanup code */
for (i = 0, p = parms; p; i++) {
if (!checkAttribute(p,"tmap:in:numinputs","0") && (tm = Getattr(p,"tmap:freearg"))) {
if (!checkAttribute(p,"tmap:in:numinputs","0")
&& !Getattr(p,"tmap:in:parse") && (tm = Getattr(p,"tmap:freearg"))) {
if (Len(tm) != 0) {
Replaceall(tm,"$source",Getattr(p,"lname"));
Printv(cleanup,tm,"\n",NIL);