mirror of https://github.com/bjornbytes/lovr.git
48c0b4c167
Summary: - Buffer length can be zero (indicates single value instead of array) - Internally, arrays aren't coerced to array-of-single-struct - Removes support for "flat table" data (array-of-structs w/o wrapping each struct in a nested table) - Use consistent syntax for reading table data into buffers: - Numbers are numbers - Vectors are numbers, tables, or vectors - Structs are tables with any combination of integer/string keys - Fields are assigned from integer keys in order, then any remaining fields use the string keys - Arrays are tables of elements, formatted as above - Try to improve error messages for Buffer:setData errors |
||
---|---|---|
.. | ||
api | ||
core | ||
lib | ||
modules | ||
main.c | ||
util.c | ||
util.h |