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

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

extern "C" {

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

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

}