diff options
author | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2017-08-02 14:39:44 +0200 |
---|---|---|
committer | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2017-08-02 14:39:44 +0200 |
commit | c5d772fd0dd9120885be96255d5dd4a3ed6b8aac (patch) | |
tree | 4f92866eddac0788ad3c060af041c6945ffe7797 /src/tools.c | |
parent | 00fa87f8460f32259737d0285d7855e68b55ab31 (diff) | |
download | lanes-c5d772fd0dd9120885be96255d5dd4a3ed6b8aac.tar.gz lanes-c5d772fd0dd9120885be96255d5dd4a3ed6b8aac.tar.bz2 lanes-c5d772fd0dd9120885be96255d5dd4a3ed6b8aac.zip |
Deep userdata improvements
Support for user-provided __gc
Improved example
Diffstat (limited to '')
-rw-r--r-- | src/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.c b/src/tools.c index f935c26..9403fd6 100644 --- a/src/tools.c +++ b/src/tools.c | |||
@@ -822,7 +822,7 @@ static int func_lookup_sentinel( lua_State* L) | |||
822 | // function sentinel used to transfer native table from/to keeper states | 822 | // function sentinel used to transfer native table from/to keeper states |
823 | static int table_lookup_sentinel( lua_State* L) | 823 | static int table_lookup_sentinel( lua_State* L) |
824 | { | 824 | { |
825 | return luaL_error( L, "table lookup sentinel for %s, should never be called", lua_tostring( L, lua_upvalueindex(1))); | 825 | return luaL_error( L, "table lookup sentinel for %s, should never be called", lua_tostring( L, lua_upvalueindex( 1))); |
826 | } | 826 | } |
827 | 827 | ||
828 | /* | 828 | /* |