[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lua_isstring et al and booleans in 5.0w0
- From: "Stefan Boberg" <stefan.boberg@...>
- Date: Mon, 15 Jul 2002 13:12:40 +0100
I'm writing some type marshalling code for our object model and just
noticed something which might be unimplemented/not considered in 5.0w0.
If you have a Boolean variable on the stack and call lua_isstring() or
check_string() etc etc, the check will fail since Booleans apparently
can not automatically be converted to strings. To me it seems natural
that I should be able to get a Boolean value as a string, but perhaps
that's not the intention? Or is it simply not implemented yet?
Stefan Boberg, R&D Manager - Team17 Software Ltd.