mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-25 10:10:04 +01:00
When we convert from a lua table to a GVariant dictionary, it is not
possible to maintain the hybrid string & integer keys approach that Lua
has for tables, so we convert all keys to strings and a table becomes a{sv}
When we convert back from a{sv} to a table, it is desirable to get back
the integer keys wherever possible.
The use case is to pass "arrays" (i.e. tables with integer keys) from
the configuration files to the lua scripts, without losing the properties
of the "array"
|
||
|---|---|---|
| .. | ||
| boxed.c | ||
| closure.c | ||
| gresource.xml | ||
| meson.build | ||
| object.c | ||
| private.h | ||
| sandbox.lua | ||
| userdata.c | ||
| value.c | ||
| wplua.c | ||
| wplua.h | ||