73 const char *name = luaL_checkstring(L,1);
86 const char *name = luaL_checkstring(L,1);
100 const char *name = luaL_checkstring(L,1);
Header file with generic functions and naev-specifics.
static const luaL_Reg diffL_methods[]
static int diffL_isapplied(lua_State *L)
Checks to see if a diff is currently applied.
static int diffL_remove(lua_State *L)
Removes a diff by name.
static int diffL_apply(lua_State *L)
Lua bindings to apply/remove Universe Diffs.
int nlua_loadDiff(nlua_env env)
Loads the diff Lua library.
int diff_apply(const char *name)
Applies a diff to the universe.
void diff_remove(const char *name)
Removes a diff from the universe.
int diff_isApplied(const char *name)
Checks if a diff is currently applied.