diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2019-04-27 10:15:28 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2019-04-27 10:15:28 +0100 |
commit | b4bd78a8eedda7b87b24f4b8bbd4441eb11ec31c (patch) | |
tree | 276af83429d0c47c077ea3a3a1f1e217b9c65f5b /src/host | |
parent | cca67cfe94ab47f07ab7e40e9612c1f99b99c113 (diff) |
lua: Add a sentinel for the fd function table
Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
Diffstat (limited to 'src/host')
-rw-r--r-- | src/host/layer23/src/mobile/script_lua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/script_lua.c b/src/host/layer23/src/mobile/script_lua.c index 9117cdd4..2979e7cd 100644 --- a/src/host/layer23/src/mobile/script_lua.c +++ b/src/host/layer23/src/mobile/script_lua.c @@ -544,6 +544,7 @@ static int lua_fd_unregister(lua_State *L) { static const struct luaL_Reg fd_funcs[] = { { "unregister", lua_fd_unregister }, { "__gc", lua_fd_unregister }, + { NULL, NULL }, }; static const struct luaL_Reg ms_funcs[] = { |