Sun, 23 Nov 2008 04:12:04 +0000
Cleanup and commenting
#include <sqlite3.h> #include <dbd/common.h> #define DBD_SQLITE_CONNECTION "DBD.SQLite3.Connection" #define DBD_SQLITE_STATEMENT "DBD.SQLite3.Statement" /* * connection object */ typedef struct _connection { sqlite3 *sqlite; } connection_t; /* * statement object */ typedef struct _statement { sqlite3_stmt *stmt; sqlite3 *sqlite; int more_data; } statement_t;