summaryrefslogtreecommitdiff
path: root/include/lua_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lua_core.h')
-rw-r--r--include/lua_core.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/lua_core.h b/include/lua_core.h
index ed5fb7d..32c809c 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -14,6 +14,20 @@ enum EventType {
EVENT_CURSOR_ENTER
};
+enum BufferType {
+ BUFFER_UNSIGNED_CHAR,
+ BUFFER_UNSIGNED_SHORT,
+ BUFFER_UNSIGNED_INT,
+ BUFFER_FLOAT,
+};
+
+typedef struct {
+ size_t size;
+ void *data;
+ int x;
+ int y;
+} Buffer;
+
bool luaInit( int argn, const char **argc );
int luaTraceback( lua_State *L );
bool luaCallMain();