warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bc39db5341
commit
ed8dc5198f
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));
|
||||
|
||||
if(CPlusPlus) {
|
||||
bool cpp_struct = Strstr(k, "struct ");
|
||||
bool cpp_union = Strstr(k, "union ");
|
||||
bool cpp_struct = Strstr(k, "struct ") ? true : false;
|
||||
bool cpp_union = Strstr(k, "union ") ? true : false;
|
||||
|
||||
String *cpp_type = 0;
|
||||
if(cpp_struct) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue