variables: add a Get and Set function. This function can be only used (for the
authorRémi Duraffort <ivoire@videolan.org>
Mon, 27 Jul 2009 06:00:53 +0000 (08:00 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 27 Jul 2009 07:06:33 +0000 (09:06 +0200)
commit1bc0945eea3fc2cf77502da070a4af831e4f3175
treeb2054e41bc872c84761e456e430428f279f350fc
parent98094e9e75cc52680006fcdbe92c11cb58eb8c54
variables: add a Get and Set function. This function can be only used (for the
moment) to toggle a boolean with the variable lock taken (which is not the case
when doing a var_SetBool(!var_GetBool)).
This function is also two times faster (only one lookup).
include/vlc_variables.h
src/libvlccore.sym
src/misc/variables.c