diff options
Diffstat (limited to 'lang_ext')
-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} }; |