Use different types to generate typesafe API.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ef85d0d43f
commit
ed7e3143ce
1 changed files with 1 additions and 1 deletions
|
|
@ -1288,7 +1288,7 @@ ready:
|
|||
|
||||
// declare type for specific class in the proxy header
|
||||
if (proxy_flag)
|
||||
Printv(f_proxy_header, "\ntypedef SwigObj ", name, ";\n\n", NIL);
|
||||
Printv(f_proxy_header, "\ntypedef SwigObj_", name, " ", name, ";\n\n", NIL);
|
||||
|
||||
Delete(sobj);
|
||||
Delete(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue