ext/extralite/extralite.h in extralite-1.18 vs ext/extralite/extralite.h in extralite-1.19
- old
+ new
@@ -44,21 +44,25 @@
typedef struct {
VALUE self;
sqlite3 *sqlite3_db;
sqlite3_stmt *stmt;
+ VALUE params;
} query_ctx;
VALUE safe_query_ary(query_ctx *ctx);
VALUE safe_query_hash(query_ctx *ctx);
VALUE safe_query_single_column(query_ctx *ctx);
VALUE safe_query_single_row(query_ctx *ctx);
VALUE safe_query_single_value(query_ctx *ctx);
+VALUE safe_execute_multi(query_ctx *ctx);
VALUE safe_query_columns(query_ctx *ctx);
void prepare_single_stmt(sqlite3 *db, sqlite3_stmt **stmt, VALUE sql);
void prepare_multi_stmt(sqlite3 *db, sqlite3_stmt **stmt, VALUE sql);
void bind_all_parameters(sqlite3_stmt *stmt, int argc, VALUE *argv);
+void bind_all_parameters_from_object(sqlite3_stmt *stmt, VALUE obj);
+int stmt_iterate(sqlite3_stmt *stmt, sqlite3 *db);
VALUE cleanup_stmt(query_ctx *ctx);
sqlite3 *Database_sqlite3_db(VALUE self);
#endif /* EXTRALITE_H */
\ No newline at end of file