src/lua_objs.h
author Tero Marttila <terom@fixme.fi>
Wed, 27 May 2009 23:07:00 +0300
branchnew-lib-errors
changeset 216 a10ba529ae39
parent 143 1edab39c88a8
permissions -rw-r--r--
initial error code
#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>

// XXX: remove
#include "lua_type.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 */