ext/duckdb/extconf.rb in duckdb-0.3.4.0 vs ext/duckdb/extconf.rb in duckdb-0.5.0
- old
+ new
@@ -4,17 +4,12 @@
raise 'duckdb library is not found. Install duckdb library file and header file.' unless have_library('duckdb')
raise 'duckdb >= 0.2.9 is required. Install duckdb >= 0.2.9' unless have_func('duckdb_value_is_null', 'duckdb.h')
+# check duckdb >= 0.3.3
# ducdb >= 0.3.3 if duckdb_append_data_chunk() is defined.
have_func('duckdb_append_data_chunk', 'duckdb.h')
have_func('duckdb_free', 'duckdb.h')
-
-have_func('duckdb_create_config', 'duckdb.h')
-have_func('duckdb_open_ext', 'duckdb.h')
-have_func('duckdb_prepare_error', 'duckdb.h')
-
-have_func('duckdb_append_date', 'duckdb.h')
create_makefile('duckdb/duckdb_native')