summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
new file mode 100644
index 0000000..31ff856
--- /dev/null
+++ b/src/common.h
@@ -0,0 +1,31 @@
+#ifndef HONEY_COMMON_H
+#define HONEY_COMMON_H
+
+#include <lua.h>
+
+#define HONEY_VERSION_MAJOR 0
+#define HONEY_VERSION_MINOR 0
+#define HONEY_VERSION_PATCH 0
+#define HONEY_VERSION_STR "intermissia [pre-alpha]"
+
+#define HONEY_MODULES \
+ X(audio) \
+ X(gl) \
+ X(glfw) \
+ X(glm) \
+ X(image) \
+ X(import) \
+ X(logging) \
+ X(nvg) \
+ X(ode) \
+ X(util) \
+ X(version) \
+
+
+#define X(module) \
+ void setup_ ## module (lua_State *L, int honey_index);
+HONEY_MODULES
+#undef X
+
+
+#endif