mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 03:58:05 +02:00
wplua: fix vtables lookup in boxed __index function
This commit is contained in:
parent
e3a60c6233
commit
a634bf88fd
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ _wplua_gboxed___index (lua_State *L)
|
|||
lua_CFunction func = NULL;
|
||||
GHashTable *vtables;
|
||||
|
||||
lua_getglobal (L, "__wplua_vtables");
|
||||
lua_pushliteral (L, "wplua_vtables");
|
||||
lua_gettable (L, LUA_REGISTRYINDEX);
|
||||
vtables = wplua_toboxed (L, -1);
|
||||
lua_pop (L, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue