src/spbot/lua_objs.h
branchnew-lib-errors
changeset 219 cefec18b8268
parent 143 1edab39c88a8
equal deleted inserted replaced
218:5229a5d098b2 219:cefec18b8268
       
     1 #ifndef LUA_OBJS_H
       
     2 #define LUA_OBJS_H
       
     3 
       
     4 /**
       
     5  * @file
       
     6  *
       
     7  * Defines lua functions to access the various objects in a nexus
       
     8  */
       
     9 #include "nexus_lua.h"
       
    10 
       
    11 #include <lua5.1/lua.h>
       
    12 #include <lua5.1/lauxlib.h>
       
    13 
       
    14 /**
       
    15  * Registers our lua runtime objects into the given lua state.
       
    16  *
       
    17  * Call in protected mode.
       
    18  */
       
    19 void lua_objs_init (struct nexus_lua *lua);
       
    20 
       
    21 #endif /* LUA_OBJS_H */