summaryrefslogtreecommitdiff
path: root/chill_env.hh
diff options
context:
space:
mode:
authordhuth <derickhuth@gmail.com>2014-08-27 09:52:06 -0600
committerdhuth <derickhuth@gmail.com>2014-08-27 09:52:06 -0600
commitbff810cc371a38f493d688c54f71013f5a7d53bf (patch)
treefbe86954bb3c01deb21da9e41ebff5baa2889a45 /chill_env.hh
downloadchill-bff810cc371a38f493d688c54f71013f5a7d53bf.tar.gz
chill-bff810cc371a38f493d688c54f71013f5a7d53bf.tar.bz2
chill-bff810cc371a38f493d688c54f71013f5a7d53bf.zip
Initial commit
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