2 * See Licensing and Copyright notice in naev.h
15 #define PILOT_METATABLE "pilot" /**< Pilot metatable identifier. */
19 * @brief Lua Pilot wrapper.
21 typedef struct LuaPilot_s
{
22 unsigned int pilot
; /**< ID of the pilot. */
23 } LuaPilot
; /**< Wrapper for a Pilot. */
29 int nlua_loadPilot( lua_State
*L
, int readonly
);
34 LuaPilot
* lua_topilot( lua_State
*L
, int ind
);
35 LuaPilot
* luaL_checkpilot( lua_State
*L
, int ind
);
36 LuaPilot
* lua_pushpilot( lua_State
*L
, LuaPilot pilot
);
37 int lua_ispilot( lua_State
*L
, int ind
);
40 #endif /* NLUA_PILOT_H */