summaryrefslogtreecommitdiff
path: root/chill_env.hh
blob: 28e8fcf6d53cd85844d3539bc1c95fd7bdecfac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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