Jokes aside.. Do you know if it's always safe to use the mapping I proposed? At least both bool and BOOL seems to use 1 rather than -1.
I have no explicit knowledge that this is safe, but logically what you did seems harmless and makes sense.
I suppose ideally we should only apply the mapping where the param type is actually BOOL and not just whenever the argument on the Java side is a boolean.
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside
(see you later space cowboy, you can't take the sky from me)