From bff810cc371a38f493d688c54f71013f5a7d53bf Mon Sep 17 00:00:00 2001 From: dhuth Date: Wed, 27 Aug 2014 09:52:06 -0600 Subject: Initial commit --- chill_env.hh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 chill_env.hh (limited to 'chill_env.hh') 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 -- cgit v1.2.3-70-g09d2