m-lua-scripting: add WpSpaPod api

This commit is contained in:
Julian Bouzas
2021-01-28 13:49:09 -05:00
committed by George Kiagiadakis
parent a634bf88fd
commit 81163a52c0
4 changed files with 1089 additions and 0 deletions

View File

@@ -11,6 +11,8 @@
#define URI_API "resource:///org/freedesktop/pipewire/wireplumber/m-lua-scripting/api.lua"
void wp_lua_scripting_pod_init (lua_State *L);
/* helpers */
static WpCore *
@@ -964,6 +966,8 @@ wp_lua_scripting_api_init (lua_State *L)
lua_pushcfunction (L, plugin_find);
lua_setglobal (L, "WpPlugin_find");
wp_lua_scripting_pod_init (L);
wplua_register_type_methods (L, WP_TYPE_OBJECT,
NULL, object_methods);
wplua_register_type_methods (L, WP_TYPE_PROXY,