wireplumber/modules/module-lua-scripting
George Kiagiadakis 3fbf1286e6 lua: change the Conf API to have methods for getting sections as specific types
In some cases we need to get a section as JSON, so that we can pass it
down to the rules parser, while in other cases we neeed to get it as a
table to use it natively, and in that case we even need to differentiate
between it being an object, an array or an object with WpProperties.

Make it also possible to optionally pass tables with default values to
the functions so that we can get rid of cutils.get_config_section()
as well.
2024-03-04 16:33:14 +00:00
..
api lua: change the Conf API to have methods for getting sections as specific types 2024-03-04 16:33:14 +00:00
wplua m-lua-scripting: check argument type is table to avoid crashing 2023-10-13 22:47:57 +03:00
meson.build wplua: move under modules/module-lua-scripting 2022-03-24 09:47:59 +02:00
module.c base-dirs: add XDG_CONFIG/DATA_DIRS and CONFIGURATION & DATA groups 2024-03-04 07:07:56 +00:00
script.c core: change the component arguments to be WpSpaJson instead of GVariant 2023-05-25 18:29:58 +03:00
script.h m-lua-scripting: wrap every script in a WpPlugin and expose async activation api 2022-04-23 20:14:59 +03:00