Resources | Resources |



IDL nil interface in Lua

IDL nil maps to the number zero in Lua. One may expect IDL nil would map to Lua's nil, but in Lua, nil is unfortunately overloaded to mean nonexistent. In Lua, there is no way to distinguish a table field with a nil value from a field with no value.