C++ already defines a perfectly good 'bool'. Use that.

This commit is contained in:
Anthony Baxter 2006-04-11 07:23:05 +00:00
parent 0c469854bc
commit 1cf3964fd1
1 changed files with 2 additions and 0 deletions

View File

@ -5,7 +5,9 @@ typedef PyObject * identifier;
typedef PyObject * string;
typedef PyObject * object;
#ifndef __cplusplus
typedef enum {false, true} bool;
#endif
/* It would be nice if the code generated by asdl_c.py was completely
independent of Python, but it is a goal the requires too much work