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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/lua_core.h b/include/lua_core.h
index 44b9ed1..a289cb0 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -18,14 +18,17 @@ enum BufferType {
BUFFER_UNSIGNED_CHAR,
BUFFER_UNSIGNED_SHORT,
BUFFER_UNSIGNED_INT,
+ BUFFER_CHAR,
+ BUFFER_SHORT,
+ BUFFER_INT,
BUFFER_FLOAT,
+ BUFFER_DOUBLE
};
typedef struct {
+ int type;
size_t size;
void *data;
- int x;
- int y;
} Buffer;
bool luaInit( int argn, const char **argc );