src/spbot/lua_objs.h
author Tero Marttila <terom@fixme.fi>
Thu, 28 May 2009 01:17:36 +0300
branchnew-lib-errors
changeset 219 cefec18b8268
parent 143 src/lua_objs.h@1edab39c88a8
permissions -rw-r--r--
some of the lib/transport stuff compiles
#ifndef LUA_OBJS_H
#define LUA_OBJS_H

/**
 * @file
 *
 * Defines lua functions to access the various objects in a nexus
 */
#include "nexus_lua.h"

#include <lua5.1/lua.h>
#include <lua5.1/lauxlib.h>

/**
 * Registers our lua runtime objects into the given lua state.
 *
 * Call in protected mode.
 */
void lua_objs_init (struct nexus_lua *lua);

#endif /* LUA_OBJS_H */