22 lines
351 B
C
22 lines
351 B
C
#ifndef REGOLITH_LUA_H
|
|
#define REGOLITH_LUA_H
|
|
|
|
#include "regolith.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct lua_State;
|
|
|
|
RG_API int rg_lua_open(rg_context* ctx);
|
|
RG_API int rg_lua_dostring(rg_context* ctx, const char* code, const char* chunk_name);
|
|
RG_API struct lua_State* rg_lua_state(rg_context *ctx);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|