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

static void _init_plugin(Lua * L) {
    LoadLuaLibs(L);
}

extern "C" {

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

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

}