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

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

extern "C" {

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

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

}