Removed 'bool' datatype. Not portable. Please don't use.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2004-02-13 00:20:12 +00:00
commit f64d62c80c

View file

@ -28,12 +28,21 @@ extern "C" {
#include "swigconfig.h"
#endif
/*
**** THIS PATCH IS REJECTED. DO NOT USE 'bool' DATATYPE IN THE SWIG IMPLEMENTATION.
**** NOT PORTABLE. -- Dave
#if defined(__cplusplus) && !defined(HAVE_BOOL)
typedef int bool;
#define true ((bool)1)
#define false ((bool)0)
#endif
**********************
*/
#include "doh.h"
/* Status codes */