]> git.sesse.net Git - vlc/commit
Deprecate ugly and unsafe vlc_object_find_name()
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Aug 2009 20:45:45 +0000 (23:45 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Aug 2009 21:05:31 +0000 (00:05 +0300)
commitb6c76ecf1a1b2c87d8dc91e0a636291339d96c28
tree620ef58194185bbddbe2981fe2d9186feded888f
parent674d00760e56d12a6e51b070dbce027a2c05f217
Deprecate ugly and unsafe vlc_object_find_name()

psz_object_name can only be read from the thread calling module_need()
for the current object. As an alternative, module_need() would have to
be called before vlc_object_attach(), which would break var_CreateGet*.
include/vlc_objects.h
src/misc/objects.c