wireplumber/lib/wplua
George Kiagiadakis 400aaf55ed wplua: store closures only with a weak reference
This allows closures to be properly unrefed when they are no longer
used instead of staying alive until wireplumber exits

Because GClosure has no weak references, we are now sharing the
GPtrArray that holds these references among all the active closures
and each closure is responsible for removing itself from the array
when it is finalized. The lua engine holds a reference to a "store"
object that also has a pointer to the array and when this "store"
is finalized, all closures are invalidated and removed. Even if they
stay alive afterwards, they are only holding a ref to an empty array
2021-04-13 21:14:12 +03:00
..
boxed.c wplua: fix vtables lookup in boxed __index function 2021-02-05 08:47:27 +00:00
closure.c wplua: store closures only with a weak reference 2021-04-13 21:14:12 +03:00
gresource.xml wplua: implement sandboxing of scripts 2020-12-15 18:28:28 +02:00
meson.build wplua: implement sandboxing of scripts 2020-12-15 18:28:28 +02:00
object.c wplua: object: unset GValues used when calling action signals 2021-01-21 09:42:07 +02:00
private.h wplua: use the error handler also when loading chunks 2020-12-18 18:25:43 +02:00
sandbox.lua daemon: add a mode to execute lua scripts from the command line 2021-02-04 16:44:56 +02:00
userdata.c wplua: new simple engine to integrate GObject with Lua 2020-12-11 17:07:20 +02:00
value.c wplua: sort properties after transfering them from lua 2021-03-26 19:07:56 +02:00
wplua.c lua: enable loading scripts with a shebang 2021-02-18 13:47:34 +02:00
wplua.h wplua: improve gvariant <-> lua conversion functions 2021-02-15 14:43:18 +02:00