summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-14 15:01:55 +0800
committerDeterminant <[email protected]>2015-05-14 15:01:55 +0800
commitf48dc493b5b77fd4e4472dd6c78b7542a4884129 (patch)
tree0b7a0f95df28fc100fc1fd252ce1d0215d19150d /common.h
parent46ccec6d5ad057476e945afa34981f7e8d732547 (diff)
add basic matrix implementation
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..b316f20
--- /dev/null
+++ b/common.h
@@ -0,0 +1,9 @@
+#include "lua.h"
+#include "lauxlib.h"
+#include "lualib.h"
+#include "luaT/luaT.h"
+#include <stdio.h>
+#include <stdlib.h>
+
+int nerv_error(lua_State *L, const char *err_mesg_fmt, ...);
+int nerv_error_method_not_implemented(lua_State *L);