1 #include "dbd_postgresql.h" |
1 #include "dbd_postgresql.h" |
2 |
2 |
3 int dbd_postgresql_connection(lua_State *L); |
3 int dbd_postgresql_connection(lua_State *L); |
4 int dbd_postgresql_statement(lua_State *L); |
4 int dbd_postgresql_statement(lua_State *L); |
5 |
5 |
|
6 /* |
|
7 * library entry point |
|
8 */ |
6 int luaopen_dbdpostgresql(lua_State *L) { |
9 int luaopen_dbdpostgresql(lua_State *L) { |
7 dbd_postgresql_connection(L); |
10 dbd_postgresql_connection(L); |
8 dbd_postgresql_statement(L); |
11 dbd_postgresql_statement(L); |
9 |
12 |
10 return 1; |
13 return 1; |