From b3de1516e49ccbe11c0c01afda1d6248359a977b Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 21 May 2007 16:09:15 +0000 Subject: Forgot to export "RegisterDomain" properly. --- lib/LuaHttp.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc index 6b376a6..0b9cc22 100644 --- a/lib/LuaHttp.cc +++ b/lib/LuaHttp.cc @@ -37,6 +37,7 @@ class sLua_HttpResponse : public Base { DECLARE_METHOD(HttpResponse, HTTPRESPONSE_NEWINDEX); DECLARE_FUNCTION(HttpResponse, HTTPRESPONSE_NEWHTTPRESPONSE); + DECLARE_FUNCTION(HttpResponse, HTTPRESPONSE_REGISTERDOMAIN); private: static int HttpResponse_proceed(Lua * L, int n, HttpResponse * obj, int caller); static int HttpResponse_proceed_statics(Lua * L, int n, int caller); @@ -54,6 +55,7 @@ void LuaHttpResponse::pushstatics(Lua * L) throw (GeneralException) { CHECK_FUNCTIONS(HttpResponse); PUSH_FUNCTION(HttpResponse, HTTPRESPONSE_NEWHTTPRESPONSE); + PUSH_FUNCTION(HttpResponse, HTTPRESPONSE_REGISTERDOMAIN); export_enum(L, HTTP_200_OK); export_enum(L, HTTP_301_PERM_MOVED); -- cgit v1.2.3