/* WirePlumber * * Copyright © 2022 Collabora Ltd. * @author George Kiagiadakis * * SPDX-License-Identifier: MIT */ #ifndef __MODULE_LUA_SCRIPTING_SCRIPT_H__ #define __MODULE_LUA_SCRIPTING_SCRIPT_H__ #include #include G_BEGIN_DECLS #define WP_TYPE_LUA_SCRIPT (wp_lua_script_get_type ()) G_DECLARE_FINAL_TYPE (WpLuaScript, wp_lua_script, WP, LUA_SCRIPT, WpPlugin) /* Clear the internal lua_State pointer to prevent the finalizer from * attempting to close the already-destroyed state. Called by the Lua * scripting plugin during prepare_shutdown. */ WP_API void wp_lua_script_clear_lua_state (WpLuaScript *self); G_END_DECLS #endif