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

static void _init_plugin(Lua * L) {
    LuaInput::pushconstruct(L);
    LuaOutput::pushconstruct(L);
    LuaBuffer::pushconstruct(L);
    LuaHandle::pushconstruct(L);
}

extern "C" {

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

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

}