From 47463880ee71e1732b1b599a4bd8f3a4286dd251 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Wed, 6 May 2009 09:23:24 +0000 Subject: [PATCH] DBD-SQLite: moved typedef into dbdimp.h --- dbdimp.c | 7 ------- dbdimp.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dbdimp.c b/dbdimp.c index e7be5cc..82bdb40 100644 --- a/dbdimp.c +++ b/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 sqlite_db_aggr_new_dispatcher(pTHX_ sqlite3_context *context, aggrInfo *aggr_info ) { diff --git a/dbdimp.h b/dbdimp.h index 7fb27b0..52f5628 100644 --- a/dbdimp.h +++ b/dbdimp.h @@ -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 );