mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-05 20:41:06 +00:00
bcd0d80bb5
git-svn-id: https://svn.eduke32.com/eduke32@2034 1a8010ca-5511-0410-912e-c29ae57300e0
22 lines
469 B
C
22 lines
469 B
C
/* The Lunatic Interpreter, part of EDuke32 */
|
|
|
|
#ifndef EDUKE32_LUNATIC_H_
|
|
#define EDUKE32_LUNATIC_H_
|
|
|
|
#include <lua.h>
|
|
|
|
typedef struct
|
|
{
|
|
const char *name;
|
|
lua_State *L;
|
|
} El_State;
|
|
|
|
|
|
// -- functions --
|
|
int32_t El_CreateState(El_State *estate, const char *name);
|
|
void El_DestroyState(El_State *estate);
|
|
static inline int32_t El_IsInitialized(const El_State *estate) { return (estate->L != NULL); }
|
|
int32_t El_RunOnce(El_State *estate, const char *fn);
|
|
|
|
|
|
#endif
|