aboutsummaryrefslogtreecommitdiff
path: root/src/deep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/deep.h')
-rw-r--r--src/deep.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/deep.h b/src/deep.h
new file mode 100644
index 0000000..39f501c
--- /dev/null
+++ b/src/deep.h
@@ -0,0 +1,17 @@
1#ifndef __LANES_DEEP_H__
2#define __LANES_DEEP_H__ 1
3
4/*
5 * public 'deep' API to be used by external modules if they want to implement Lanes-aware userdata
6 * said modules will have to link against lanes (it is not really possible to separate the 'deep userdata' implementation from the rest of Lanes)
7 */
8
9
10#include "lua.h"
11
12typedef void (*luaG_IdFunction)( lua_State *L, char const * const which);
13
14int luaG_deep_userdata( lua_State *L, luaG_IdFunction idfunc);
15void *luaG_todeep( lua_State *L, luaG_IdFunction idfunc, int index);
16
17#endif // __LANES_DEEP_H__ \ No newline at end of file