summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2007-05-21 16:09:15 +0000
committerpixel <pixel>2007-05-21 16:09:15 +0000
commitb3de1516e49ccbe11c0c01afda1d6248359a977b (patch)
tree26b1c7a64cd1883f7c70e2a07c287e392a25df3f /lib
parenta366b099a895e01e1d77d7ed2325ea5df9b0b689 (diff)
Forgot to export "RegisterDomain" properly.
Diffstat (limited to 'lib')
-rw-r--r--lib/LuaHttp.cc2
1 files changed, 2 insertions, 0 deletions
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);