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:
Leif Middelschulte 2012-06-16 18:57:55 +00:00
commit ed7e3143ce

View file

@ -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);