]> git.sesse.net Git - vlc/commit
Lua Extensions: implement fake "require"
authorJean-Philippe André <jpeg@videolan.org>
Sun, 30 May 2010 14:57:21 +0000 (22:57 +0800)
committerJean-Philippe André <jpeg@videolan.org>
Sun, 30 May 2010 16:36:03 +0000 (00:36 +0800)
commit860b78b3d6132b6ab5014a768cbdfbd96c0461fc
tree6225430a744870f672fff9ab3a27549e9230d3b8
parent3339c90e94805f80007a14c40d70980011e8640e
Lua Extensions: implement fake "require"

As the "descriptor" function is called with absolutely no libraries
loaded, even the built-in "require" function is not present at scan
time.
This closes #3453.

Note: this is a bit of a hack, but I prefer not to load any libs when
scanning the available extensions

Remove some useless debug, too
modules/misc/lua/extension.c