[llvm-commits] Use "LLVMBool" instead of "int" for booleans in llvm-c API
Chris Lattner
clattner at apple.com
Sat Jan 9 14:27:23 PST 2010
On Dec 21, 2009, at 3:54 PM, James Y Knight wrote:
> In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for.
This all sounds reasonable to me, applied here, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100104/093940.html
-Chris
More information about the llvm-commits
mailing list