diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2020-03-22 22:07:26 +0200 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2020-03-22 23:34:19 +0200 |
commit | fb984a36092f2e846ea98445176259e9a4dbf523 (patch) | |
tree | 359d66af302b22186e1bac957d6b56622c27226e /common/msg.c | |
parent | eb5635131d3c16f9a670063c10f208ecdece6b7e (diff) | |
download | mpv-fb984a36092f2e846ea98445176259e9a4dbf523.tar.bz2 mpv-fb984a36092f2e846ea98445176259e9a4dbf523.tar.xz |
lua: autofree: the ctx is now an argument
There's no more need to call mp_lua_PITA to get the ctx, and the
autofree prototype is now enforced at the C level at compile time.
Also remove the redundant talloc_free_children at these functions
since it's now freed right after the function completes.
Also, rename auto_free_node to steal_node_allocations to be more
explicit and to avoid confusion with the autofree terminology.
Diffstat (limited to 'common/msg.c')
0 files changed, 0 insertions, 0 deletions