summaryrefslogtreecommitdiff
path: root/chill_env.hh
diff options
context:
space:
mode:
Diffstat (limited to 'chill_env.hh')
-rw-r--r--chill_env.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/chill_env.hh b/chill_env.hh
new file mode 100644
index 0000000..28e8fcf
--- /dev/null
+++ b/chill_env.hh
@@ -0,0 +1,15 @@
+#ifndef CHILL_ENV_H
+#define CHILL_ENV_H
+
+typedef struct lua_State lua_State;
+
+void register_globals(lua_State *L);
+void register_functions(lua_State *L);
+#ifdef CUDACHILL
+int get_loop_num(lua_State *L);
+#else
+void finalize_loop(int loop_num_start, int loop_num_end);
+int get_loop_num_start(lua_State *L);
+int get_loop_num_end(lua_State *L);
+#endif
+#endif