warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a925249e0b
commit
9369bae9f4
1 changed files with 2 additions and 2 deletions
|
|
@ -391,8 +391,8 @@ void add_defined_foreign_type(Node *n,
|
||||||
Setattr(defined_foreign_ltypes,Copy(k),Copy(mangled_lname_gen));
|
Setattr(defined_foreign_ltypes,Copy(k),Copy(mangled_lname_gen));
|
||||||
|
|
||||||
if(CPlusPlus) {
|
if(CPlusPlus) {
|
||||||
bool cpp_struct = Strstr(k, "struct ");
|
bool cpp_struct = Strstr(k, "struct ") ? true : false;
|
||||||
bool cpp_union = Strstr(k, "union ");
|
bool cpp_union = Strstr(k, "union ") ? true : false;
|
||||||
|
|
||||||
String *cpp_type = 0;
|
String *cpp_type = 0;
|
||||||
if(cpp_struct) {
|
if(cpp_struct) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue