[vlc-devel] [PATCH] lua: fixed object release function

Rémi Denis-Courmont remi at remlab.net
Sun Feb 23 15:35:29 CET 2020


Le perjantaina 21. helmikuuta 2020, 16.04.31 EET 
quentin.chateau at deepskycorp.com a écrit :
> From: Quentin Chateau <quentin.chateau at deepskycorp.com>
> 
> As a single metatable for vlc_object exists
> all lua objects in objects.c would be freed
> with the same release function

Yes but isn't it far simpler to use a different meta table for each object 
type?

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list