ext/duckdb/ruby-duckdb.h in duckdb-0.10.2.0 vs ext/duckdb/ruby-duckdb.h in duckdb-1.0.0.0
- old
+ new
@@ -1,20 +1,28 @@
#ifndef RUBY_DUCKDB_H
#define RUBY_DUCKDB_H
+// #define DUCKDB_API_NO_DEPRECATED
+#define DUCKDB_NO_EXTENSION_FUNCTIONS // disable extension C-functions
+
#include "ruby.h"
#include <duckdb.h>
#ifdef HAVE_DUCKDB_APPENDER_COLUMN_COUNT
#define HAVE_DUCKDB_H_GE_V0_10_0 1
#endif
+#ifdef HAVE_DUCKDB_FETCH_CHUNK
+#define HAVE_DUCKDB_H_GE_V1_0_0 1
+#endif
+
#include "./error.h"
#include "./database.h"
#include "./connection.h"
#include "./result.h"
#include "./column.h"
#include "./prepared_statement.h"
+#include "./extracted_statements.h"
#include "./pending_result.h"
#include "./util.h"
#include "./converter.h"
#include "./blob.h"