fixes for char[ANY]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
349e6bc6ee
commit
d6554ac1ef
2 changed files with 4 additions and 1 deletions
|
|
@ -125,6 +125,8 @@
|
||||||
namet gbl_namet;
|
namet gbl_namet;
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// adding applies for incomplete swig type MyInt
|
// adding applies for incomplete swig type MyInt
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,8 @@ if t.var_namet != 'holac':
|
||||||
|
|
||||||
t.var_namet = 'hol'
|
t.var_namet = 'hol'
|
||||||
|
|
||||||
if t.var_namet != 'hol\0\0':
|
if t.var_namet != 'hol':
|
||||||
|
#if t.var_namet != 'hol\0\0':
|
||||||
print "bad namet", t.var_namet
|
print "bad namet", t.var_namet
|
||||||
raise RuntimeError
|
raise RuntimeError
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue