diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-04-08 18:07:30 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-04-08 18:07:30 -0700 |
commit | c110061a7310db65f71c2d716d5ed9d9b2b900e0 (patch) | |
tree | 42fd0a9be18d23fb753e92c99da80561a85c9350 | |
parent | 813bc74be61e910d3fe9e013d0ee5cca1cce6fd0 (diff) |
Small change to make Lua extension compile again.
-rw-r--r-- | lang_ext/lua/upb.c | 7 |
1 files changed, 0 insertions, 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} }; |