Apply patch #2952374 - fix Python directors and the -nortti option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9dd763d4d3
commit
5a626898df
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
Version 2.0.0 (in progress)
|
Version 2.0.0 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
2010-04-09: wsfulton
|
||||||
|
[Python] Apply patch #2952374 - fix directors and the -nortti option.
|
||||||
|
|
||||||
2010-04-09: wsfulton
|
2010-04-09: wsfulton
|
||||||
[Lua] Fix #2887254 and #2946032 - SWIG_Lua_typename using wrong stack index.
|
[Lua] Fix #2887254 and #2946032 - SWIG_Lua_typename using wrong stack index.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1924,7 +1924,7 @@ int Language::classDirectorDisown(Node *n) {
|
||||||
Delete(type);
|
Delete(type);
|
||||||
type = NewString("void");
|
type = NewString("void");
|
||||||
String *action = NewString("");
|
String *action = NewString("");
|
||||||
Printv(action, "{\n", "Swig::Director *director = dynamic_cast<Swig::Director *>(arg1);\n", "if (director) director->swig_disown();\n", "}\n", NULL);
|
Printv(action, "{\n", "Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);\n", "if (director) director->swig_disown();\n", "}\n", NULL);
|
||||||
Setfile(disown, Getfile(n));
|
Setfile(disown, Getfile(n));
|
||||||
Setline(disown, Getline(n));
|
Setline(disown, Getline(n));
|
||||||
Setattr(disown, "wrap:action", action);
|
Setattr(disown, "wrap:action", action);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue