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:
parent
a0a055ddb9
commit
28df9d1049
6 changed files with 40 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue