From c110061a7310db65f71c2d716d5ed9d9b2b900e0 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 8 Apr 2011 18:07:30 -0700 Subject: Small change to make Lua extension compile again. --- lang_ext/lua/upb.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lang_ext/lua/upb.c b/lang_ext/lua/upb.c index cc21922..f173cca 100644 --- a/lang_ext/lua/upb.c +++ b/lang_ext/lua/upb.c @@ -585,15 +585,8 @@ static int lupb_symtab_new(lua_State *L) { return 1; } -static int lupb_getfdsdef(lua_State *L) { - upb_msgdef *fdsdef = upb_getfdsdef(); // Gets a ref on fdsdef. - lupb_def_getorcreate(L, UPB_UPCAST(fdsdef), true); - return 1; -} - static const struct luaL_Reg lupb_toplevel_m[] = { {"symtab", lupb_symtab_new}, - {"fdsdef", lupb_getfdsdef}, {NULL, NULL} }; -- cgit v1.2.3