summaryrefslogtreecommitdiff
path: root/src/plugin-luahttp.cc
blob: ae7ee34f22494fd3911f20c95573f782d78e58f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <LuaHttp.h>

static void _init_plugin(Lua * L) {
    LuaHttpResponse::pushstatics(L);
}

extern "C" {

__attribute__ ((weak)) void init_plugin(Lua * L) {
    _init_plugin(L);
}

void luahttp_init(Lua * L) {
    _init_plugin(L);
}

}