branch | new-lib-errors |
changeset 217 | 7728d6ec3abf |
parent 106 | f00661136ac2 |
--- a/src/lua_config.c Wed May 27 23:07:00 2009 +0300 +++ b/src/lua_config.c Wed May 27 23:57:48 2009 +0300 @@ -2,7 +2,7 @@ #include <lua5.1/lauxlib.h> -err_t lua_config_load (struct nexus_lua *lua, const char *path, struct error_info *err) +err_t lua_config_load (struct nexus_lua *lua, const char *path, error_t *err) { // just use luaL_loadfile and translate the error code if (nexus_lua_error(lua->st, luaL_loadfile(lua->st, path), err))