1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

DBD-SQLite: moved typedef into dbdimp.h

This commit is contained in:
Kenichi Ishigaki 2009-05-06 09:23:24 +00:00
parent a926e727c5
commit 47463880ee
2 changed files with 7 additions and 7 deletions

View file

@ -972,13 +972,6 @@ sqlite3_db_enable_load_extension(pTHX_ SV *dbh, int onoff )
}
}
typedef struct aggrInfo aggrInfo;
struct aggrInfo {
SV *aggr_inst;
SV *err;
int inited;
};
static void
sqlite_db_aggr_new_dispatcher(pTHX_ sqlite3_context *context, aggrInfo *aggr_info )
{

View file

@ -71,6 +71,13 @@ struct imp_sth_st {
#define dbd_bind_ph sqlite_bind_ph
#define dbd_st_bind_col sqlite_bind_col
typedef struct aggrInfo aggrInfo;
struct aggrInfo {
SV *aggr_inst;
SV *err;
int inited;
};
void sqlite3_db_create_function(pTHX_ SV *dbh, const char *name, int argc, SV *func);
void sqlite3_db_enable_load_extension(pTHX_ SV *dbh, int onoff);
void sqlite3_db_create_aggregate(pTHX_ SV *dbh, const char *name, int argc, SV *aggr );