ext/duckdb/column.c in duckdb-0.9.1.1 vs ext/duckdb/column.c in duckdb-0.9.1.2
- old
+ new
@@ -66,11 +66,11 @@
ctxresult = get_struct_result(result);
return rb_utf8_str_new_cstr(duckdb_column_name(&(ctxresult->result), ctx->col));
}
-VALUE create_column(VALUE oDuckDBResult, idx_t col) {
+VALUE rbduckdb_create_column(VALUE oDuckDBResult, idx_t col) {
VALUE obj;
rubyDuckDBColumn *ctx;
obj = allocate(cDuckDBColumn);
TypedData_Get_Struct(obj, rubyDuckDBColumn, &column_data_type, ctx);
@@ -79,10 +79,10 @@
ctx->col = col;
return obj;
}
-void init_duckdb_column(void) {
+void rbduckdb_init_duckdb_column(void) {
cDuckDBColumn = rb_define_class_under(mDuckDB, "Column", rb_cObject);
rb_define_alloc_func(cDuckDBColumn, allocate);
rb_define_private_method(cDuckDBColumn, "_type", duckdb_column__type, 0);
rb_define_method(cDuckDBColumn, "name", duckdb_column_get_name, 0);