Sha256: c8e7b8120221372dfbc2eb43f63ecff4def7dca7e5357bba55f445cbc1a7af79
Contents?: true
Size: 930 Bytes
Versions: 9
Compression:
Stored size: 930 Bytes
Contents
#include "ruby-duckdb.h" VALUE mDuckDB; static VALUE duckdb_s_library_version(VALUE self); /* * call-seq: * DuckDB.library_version -> String * * Returns the version of the DuckDB library. * * DuckDB.library_version # => "0.2.0" */ static VALUE duckdb_s_library_version(VALUE self) { return rb_str_new2(duckdb_library_version()); } void Init_duckdb_native(void) { mDuckDB = rb_define_module("DuckDB"); rb_define_singleton_method(mDuckDB, "library_version", duckdb_s_library_version, 0); rbduckdb_init_duckdb_error(); rbduckdb_init_duckdb_database(); rbduckdb_init_duckdb_connection(); rbduckdb_init_duckdb_result(); rbduckdb_init_duckdb_column(); rbduckdb_init_duckdb_prepared_statement(); rbduckdb_init_duckdb_pending_result(); rbduckdb_init_duckdb_blob(); rbduckdb_init_duckdb_appender(); rbduckdb_init_duckdb_config(); rbduckdb_init_duckdb_converter(); }
Version data entries
9 entries across 9 versions & 1 rubygems