libuilua
libuilua copied to clipboard
You should probably make boolean parameters boolean
uiBoxAppend()'s last argument, for example, is a boolean value with 0 being false and nonzero being true. C didn't really have a boolean type, which is why I made them int instead.
- On 2016-05-23 01:47:05 +0200, Pietro Gagliardi wrote:
uiBoxAppend()'s last argument, for example, is a boolean value with 0 beingfalseand nonzero beingtrue. C didn't really have a boolean type, which is why I made themintinstead.
Fixed in af16ff2.
In the binding glue these types are already boolean, the 0/1 was only left in the example test code.
:wq ^X^Cy^K^X^C^C^C^C