src/spbot/lua_objs.h
branchnew-lib-errors
changeset 219 cefec18b8268
parent 143 1edab39c88a8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/spbot/lua_objs.h	Thu May 28 01:17:36 2009 +0300
@@ -0,0 +1,21 @@
+#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 */