]> git.sesse.net Git - vlc/commit
Prefer use of function references for buttons
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 2 Mar 2010 13:51:05 +0000 (14:51 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 2 Mar 2010 20:27:05 +0000 (21:27 +0100)
commit83655cec3fe316a3f073c510688b881f10c787c1
tree7a80c850a1bbc875dfa3049d2ad0def57fb55c95
parent874015cce397cd25d400e64b4879774a1cde92aa
Prefer use of function references for buttons

Use of function references rather than function names to store button
actions. This allows using all kinds of functions, including non global
ones. Note that the old mechanism using global function names is not
supported anymore. Existing scripts will need to be fixed (-> just
remove the quotes around the function name).
modules/misc/lua/extension.c
modules/misc/lua/libs/dialog.c
share/lua/README.txt
share/lua/extensions/imdb.lua