diff options
author | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-06-17 16:34:31 +0200 |
---|---|---|
committer | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-06-17 16:34:31 +0200 |
commit | 77630de350fc89038378c798cd482ed751280fc2 (patch) | |
tree | f804d15dab8cd6ba1d57508719e738c12327eba9 /src/deep.h | |
parent | 55e53f8a24ce42cadfd2887e50bf0248eb10d301 (diff) | |
download | lanes-77630de350fc89038378c798cd482ed751280fc2.tar.gz lanes-77630de350fc89038378c798cd482ed751280fc2.tar.bz2 lanes-77630de350fc89038378c798cd482ed751280fc2.zip |
Deep userdata changes
* bumped version to 3.9.6
* separate deep userdata code in a dedicated file to allow external
modules to implement Lanes-compatible deep userdata without requiring a
binary dependency against the Lanes module. because of this linda_id
function(eDO_metatable) must push 2 values on the stack: a metatable and
a deep version string obtained from luaG_pushdeepversion()
Diffstat (limited to 'src/deep.h')
-rw-r--r-- | src/deep.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,5 +27,6 @@ typedef void* (*luaG_IdFunction)( lua_State* L, enum eDeepOp op_); | |||
27 | 27 | ||
28 | extern LANES_API int luaG_newdeepuserdata( lua_State* L, luaG_IdFunction idfunc); | 28 | extern LANES_API int luaG_newdeepuserdata( lua_State* L, luaG_IdFunction idfunc); |
29 | extern LANES_API void* luaG_todeep( lua_State* L, luaG_IdFunction idfunc, int index); | 29 | extern LANES_API void* luaG_todeep( lua_State* L, luaG_IdFunction idfunc, int index); |
30 | extern LANES_API void luaG_pushdeepversion( lua_State* L); | ||
30 | 31 | ||
31 | #endif // __LANES_DEEP_H__ | 32 | #endif // __LANES_DEEP_H__ |