mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 15:21:48 +00:00
2851f412d2
git-svn-id: https://svn.eduke32.com/eduke32@3058 1a8010ca-5511-0410-912e-c29ae57300e0
20 lines
329 B
C
20 lines
329 B
C
#ifndef EDUKE32_LUNATIC_M32_H_
|
|
#define EDUKE32_LUNATIC_M32_H_
|
|
|
|
#include <lua.h>
|
|
|
|
|
|
typedef lua_State Em_State;
|
|
|
|
|
|
Em_State *Em_CreateState(void);
|
|
|
|
static inline void Em_DestroyState(Em_State *L)
|
|
{
|
|
lua_close(L);
|
|
}
|
|
|
|
int32_t Em_RunOnce(Em_State *L, const char *fn);
|
|
int32_t Em_RunStringOnce(Em_State *L, const char *str);
|
|
|
|
#endif
|