Kaydet (Commit) 1cf3964f authored tarafından Anthony Baxter's avatar Anthony Baxter

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

üst 0c469854
...@@ -5,7 +5,9 @@ typedef PyObject * identifier; ...@@ -5,7 +5,9 @@ typedef PyObject * identifier;
typedef PyObject * string; typedef PyObject * string;
typedef PyObject * object; typedef PyObject * object;
#ifndef __cplusplus
typedef enum {false, true} bool; typedef enum {false, true} bool;
#endif
/* It would be nice if the code generated by asdl_c.py was completely /* 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 independent of Python, but it is a goal the requires too much work
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment