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

static void _init_plugin(Lua * L) {
    static bool done = false;
    if (done) return;
    done = true;
    CD_PUSHSTATICS(L);
}


extern "C" {

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

}