03/12/2006: mutandiz

[allegrocl]
	    Add INPUT/OUTPUT typemaps for bool.
	    Generate c++ style wrappers for struct/unions when
	    -cwrap option specified.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Mikel Bancroft 2006-03-12 20:38:57 +00:00
commit 6fc01f1cb7
3 changed files with 48 additions and 24 deletions

View file

@ -2839,7 +2839,7 @@ int ALLEGROCL :: classHandler(Node *n) {
Strcmp(kind, "class") == 0 ||
Strcmp(kind, "union") == 0)
{
if (CPlusPlus)
if (Generate_Wrapper)
return cppClassHandler(n);
else
return cClassHandler(n);