Only a problem with sol::as_table_t and other table-based operations that depend on what Lua calls a "sequence". Regular userdata-style containers are unaffected by what Lua considers to be a "break" or "hole" in a sequence (Goes from 1 to n, until it encounters a nil value, and has no other key-value pairs besides the upcounting integer ones). Should we do anything about it? One option is making a separate "nullptr" object in Lua. This seems like a non-issue when -- if a person uses "real" containers -- this can't happen and nulls can be embedded just fine...
The text was updated successfully, but these errors were encountered:
Buh. There's nothing we can really do about this that isn't just a patchjob. People will just have to be careful what they push into Lua and when they stick big fat nullptrs in the middle of pointer vectors?
Observe.
Results:
Only a problem with
sol::as_table_tand other table-based operations that depend on what Lua calls a "sequence". Regular userdata-style containers are unaffected by what Lua considers to be a "break" or "hole" in a sequence (Goes from 1 to n, until it encounters anilvalue, and has no other key-value pairs besides the upcounting integer ones). Should we do anything about it? One option is making a separate "nullptr" object in Lua. This seems like a non-issue when -- if a person uses "real" containers -- this can't happen and nulls can be embedded just fine...The text was updated successfully, but these errors were encountered: