fixes for const char[]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d0c59e6529
commit
a04dc64d04
2 changed files with 2 additions and 3 deletions
|
|
@ -986,8 +986,7 @@ public:
|
|||
Printf(f_shadow_stubs,"%s = %s.%s\n", global_name, module, global_name);
|
||||
}
|
||||
}
|
||||
|
||||
if ((shadow) && (SwigType_isconst(t))) {
|
||||
if ((shadow) && (!SwigType_ismutable(t))) {
|
||||
if (!in_class) {
|
||||
Printf(f_shadow_stubs,"%s = %s.%s\n", iname, global_name, iname);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue