summaryrefslogtreecommitdiff
path: root/src/lua5/cdvoid5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua5/cdvoid5.h')
-rw-r--r--src/lua5/cdvoid5.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lua5/cdvoid5.h b/src/lua5/cdvoid5.h
new file mode 100644
index 0000000..75bf6e7
--- /dev/null
+++ b/src/lua5/cdvoid5.h
@@ -0,0 +1,18 @@
+#ifndef _CD_VOID_
+#define _CD_VOID_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+cdContext* cdContextVoid(void);
+void cdlua_setvoidstate(cdCanvas* cnv, lua_State * L);
+
+#define CD_VOID cdContextVoid()
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ifndef _CD_VOID_ */
+