diff options
author | dhuth <derickhuth@gmail.com> | 2014-08-27 09:52:06 -0600 |
---|---|---|
committer | dhuth <derickhuth@gmail.com> | 2014-08-27 09:52:06 -0600 |
commit | bff810cc371a38f493d688c54f71013f5a7d53bf (patch) | |
tree | fbe86954bb3c01deb21da9e41ebff5baa2889a45 /chill_env.hh | |
download | chill-bff810cc371a38f493d688c54f71013f5a7d53bf.tar.gz chill-bff810cc371a38f493d688c54f71013f5a7d53bf.tar.bz2 chill-bff810cc371a38f493d688c54f71013f5a7d53bf.zip |
Initial commit
Diffstat (limited to 'chill_env.hh')
-rw-r--r-- | chill_env.hh | 15 |
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 |