Permalink
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 471 Bytes
/*
* See Licensing and Copyright notice in naev.h
*/
#ifndef NLUA_EVT
# define NLUA_EVT
#include "event.h"
#include <lua.h>
/* Run Lua for an event. */
Event_t *event_getFromLua( lua_State *L );
lua_State *event_setupLua( Event_t *ev, const char *func );
int event_runLuaFunc( Event_t *ev, const char *func, int nargs );
int event_runLua( Event_t *ev, const char *func );
/* individual library stuff */
int nlua_loadEvt( lua_State *L );
#endif /* NLUA_EVT */