[vlc-devel] commit: Revert "lua: Make sure it builds with --disable-nls." ( Antoine Cellerier )
git version control
git at videolan.org
Tue Dec 29 00:21:29 CET 2009
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Dec 28 17:52:34 2009 +0100| [fbd5aa9902bf2bfc36b7879f8791d910d77c9917] | committer: Antoine Cellerier
Revert "lua: Make sure it builds with --disable-nls."
This reverts commit 29847260f62e4cf6218b0700a75e6f6b9ffb84e3.
I'd rather have a stable lua api (besides, vlclua_gettext is already a noop).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbd5aa9902bf2bfc36b7879f8791d910d77c9917
---
modules/misc/lua/intf.c | 2 --
modules/misc/lua/libs.h | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c
index 0092243..5d73547 100644
--- a/modules/misc/lua/intf.c
+++ b/modules/misc/lua/intf.c
@@ -211,9 +211,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
luaopen_video( L );
luaopen_vlm( L );
luaopen_volume( L );
-#ifdef ENABLE_NLS
luaopen_gettext( L );
-#endif
/* clean up */
lua_pop( L, 1 );
diff --git a/modules/misc/lua/libs.h b/modules/misc/lua/libs.h
index c4c0ec3..7bd8701 100644
--- a/modules/misc/lua/libs.h
+++ b/modules/misc/lua/libs.h
@@ -42,8 +42,6 @@ void luaopen_variables( lua_State * );
void luaopen_video( lua_State * );
void luaopen_vlm( lua_State * );
void luaopen_volume( lua_State * );
-#ifdef ENABLE_NLS
void luaopen_gettext( lua_State * );
-#endif
#endif
More information about the vlc-devel
mailing list