remove const for type names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
398b4d6f77
commit
e84e28b276
1 changed files with 2 additions and 2 deletions
|
|
@ -1696,8 +1696,8 @@ SwigType_emit_type_table(File *f_forward, File *f_table) {
|
||||||
lt = Getattr(r_ltype,ki.key);
|
lt = Getattr(r_ltype,ki.key);
|
||||||
rt = SwigType_typedef_resolve_all(lt);
|
rt = SwigType_typedef_resolve_all(lt);
|
||||||
/* we save the original type and the fully resolved version */
|
/* we save the original type and the fully resolved version */
|
||||||
ln = SwigType_str(lt,0);
|
ln = SwigType_lstr(lt,0);
|
||||||
rn = SwigType_str(rt,0);
|
rn = SwigType_lstr(rt,0);
|
||||||
if (Strcmp(ln,rn) == 0) {
|
if (Strcmp(ln,rn) == 0) {
|
||||||
nt = NewStringf("%s", ln);
|
nt = NewStringf("%s", ln);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue