Commit Graph

11 Commits

Author SHA1 Message Date
Julian Bouzas
cd2e648b3c m-lua-scripting: set id_type field when parsing pod objects 2021-02-23 10:41:46 +00:00
Julian Bouzas
2465088c5a m-lua-scripting: set pod_type and value_type fieds when parsing non-primitive pods 2021-02-23 10:41:46 +00:00
Julian Bouzas
8fa6116786 m-lua-scripting: start indices from 1 when parsing pods
For consistency with LUA
2021-02-23 10:41:46 +00:00
George Kiagiadakis
a0fb8872a2 lua/pod: optimize push_primitive_values() 2021-02-05 20:15:32 +02:00
George Kiagiadakis
e916ff6b76 lua/pod: simplify spa_pod_object_new() 2021-02-05 19:49:25 +02:00
George Kiagiadakis
38039bdfe1 lua/pod: optimize lookups in primitive_lua_type and fix some mistakes
Use the numeric values of the spa types instead of their string representation
2021-02-05 19:33:55 +02:00
George Kiagiadakis
2ca3564b67 lua/pod: lookup the object type and values table only once when constructing objects 2021-02-05 19:23:09 +02:00
George Kiagiadakis
33e546d79b lua/pod: convert Id object fields to strings, if possible 2021-02-05 18:58:02 +02:00
Julian Bouzas
dc2ad1f25d rename all foo_iterate APIs to foo_new_iterator
Avoids confusion with LUA iterate API
2021-02-05 11:33:23 -05:00
George Kiagiadakis
d0113e54cb m-lua-scripting/pod: push pod constructors using luaL_newlib instead of manually 2021-02-05 12:11:15 +02:00
Julian Bouzas
81163a52c0 m-lua-scripting: add WpSpaPod api 2021-02-05 08:47:27 +00:00