Compile time fixes for C module since merge from trunk
From: William S Fulton <wsf@fultondesigns.co.uk> git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@13039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cebb2aaa93
commit
ffe2a11294
1 changed files with 4 additions and 4 deletions
|
|
@ -1100,7 +1100,7 @@ ready:
|
|||
Setattr(n, "c:stype", stype);
|
||||
|
||||
// modify the constructor name
|
||||
constr_name = Swig_name_construct(newclassname);
|
||||
constr_name = Swig_name_construct(NSPACE_TODO, newclassname);
|
||||
Setattr(n, "name", constr_name);
|
||||
Setattr(n, "sym:name", constr_name);
|
||||
|
||||
|
|
@ -1157,7 +1157,7 @@ ready:
|
|||
Setattr(n, "c:stype", stype);
|
||||
|
||||
// modify the constructor name
|
||||
constr_name = Swig_name_copyconstructor(newclassname);
|
||||
constr_name = Swig_name_copyconstructor(NSPACE_TODO, newclassname);
|
||||
Setattr(n, "name", constr_name);
|
||||
Setattr(n, "sym:name", constr_name);
|
||||
|
||||
|
|
@ -1205,7 +1205,7 @@ ready:
|
|||
Printf(sobj_name, "SwigObj");
|
||||
ctype = Copy(sobj_name);
|
||||
SwigType_add_pointer(ctype);
|
||||
p = NewParm(ctype, "self");
|
||||
p = NewParm(ctype, "self", n);
|
||||
Setattr(p, "lname", "arg1");
|
||||
stype = Copy(newclassname);
|
||||
SwigType_add_pointer(stype);
|
||||
|
|
@ -1215,7 +1215,7 @@ ready:
|
|||
Setattr(n, "type", "void");
|
||||
|
||||
// modify the destructor name
|
||||
destr_name = Swig_name_destroy(newclassname);
|
||||
destr_name = Swig_name_destroy(NSPACE_TODO, newclassname);
|
||||
Setattr(n, "sym:name", destr_name);
|
||||
|
||||
// create action code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue