mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
DBD-SQLite: moved typedef into dbdimp.h
This commit is contained in:
parent
a926e727c5
commit
47463880ee
2 changed files with 7 additions and 7 deletions
7
dbdimp.c
7
dbdimp.c
|
@ -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
|
static void
|
||||||
sqlite_db_aggr_new_dispatcher(pTHX_ sqlite3_context *context, aggrInfo *aggr_info )
|
sqlite_db_aggr_new_dispatcher(pTHX_ sqlite3_context *context, aggrInfo *aggr_info )
|
||||||
{
|
{
|
||||||
|
|
7
dbdimp.h
7
dbdimp.h
|
@ -71,6 +71,13 @@ struct imp_sth_st {
|
||||||
#define dbd_bind_ph sqlite_bind_ph
|
#define dbd_bind_ph sqlite_bind_ph
|
||||||
#define dbd_st_bind_col sqlite_bind_col
|
#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_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_enable_load_extension(pTHX_ SV *dbh, int onoff);
|
||||||
void sqlite3_db_create_aggregate(pTHX_ SV *dbh, const char *name, int argc, SV *aggr );
|
void sqlite3_db_create_aggregate(pTHX_ SV *dbh, const char *name, int argc, SV *aggr );
|
||||||
|
|
Loading…
Add table
Reference in a new issue