bool patch code removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0d2ef5a3ce
commit
5998ecb442
1 changed files with 0 additions and 15 deletions
|
|
@ -28,21 +28,6 @@ extern "C" {
|
||||||
#include "swigconfig.h"
|
#include "swigconfig.h"
|
||||||
#endif
|
#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"
|
#include "doh.h"
|
||||||
|
|
||||||
/* Status codes */
|
/* Status codes */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue