diff --git a/sdk/ext/ovirtsdk4c/ov_http_request.c b/sdk/ext/ovirtsdk4c/ov_http_request.c index 04ede4d..0c9f587 100644 --- a/sdk/ext/ovirtsdk4c/ov_http_request.c +++ b/sdk/ext/ovirtsdk4c/ov_http_request.c @@ -344,7 +344,7 @@ static VALUE ov_http_request_initialize(int argc, VALUE* argv, VALUE self) { void ov_http_request_define(void) { /* Define the class: */ - ov_http_request_class = rb_define_class_under(ov_module, "HttpRequest", rb_cData); + ov_http_request_class = rb_define_class_under(ov_module, "HttpRequest", rb_cObject); /* Define the constructor: */ rb_define_alloc_func(ov_http_request_class, ov_http_request_alloc); diff --git a/sdk/ext/ovirtsdk4c/ov_http_response.c b/sdk/ext/ovirtsdk4c/ov_http_response.c index 9b6d0bb..b80bedf 100644 --- a/sdk/ext/ovirtsdk4c/ov_http_response.c +++ b/sdk/ext/ovirtsdk4c/ov_http_response.c @@ -184,7 +184,7 @@ static VALUE ov_http_response_initialize(int argc, VALUE* argv, VALUE self) { void ov_http_response_define(void) { /* Define the class: */ - ov_http_response_class = rb_define_class_under(ov_module, "HttpResponse", rb_cData); + ov_http_response_class = rb_define_class_under(ov_module, "HttpResponse", rb_cObject); /* Define the constructor: */ rb_define_alloc_func(ov_http_response_class, ov_http_response_alloc); diff --git a/sdk/ext/ovirtsdk4c/ov_http_transfer.c b/sdk/ext/ovirtsdk4c/ov_http_transfer.c index 727c622..a9ca23e 100644 --- a/sdk/ext/ovirtsdk4c/ov_http_transfer.c +++ b/sdk/ext/ovirtsdk4c/ov_http_transfer.c @@ -80,7 +80,7 @@ static VALUE ov_http_transfer_inspect(VALUE self) { void ov_http_transfer_define(void) { /* Define the class: */ - ov_http_transfer_class = rb_define_class_under(ov_module, "HttpTransfer", rb_cData); + ov_http_transfer_class = rb_define_class_under(ov_module, "HttpTransfer", rb_cObject); /* Define the constructor: */ rb_define_alloc_func(ov_http_transfer_class, ov_http_transfer_alloc); diff --git a/sdk/ext/ovirtsdk4c/ov_xml_reader.c b/sdk/ext/ovirtsdk4c/ov_xml_reader.c index 7f0ccca..7677c1f 100644 --- a/sdk/ext/ovirtsdk4c/ov_xml_reader.c +++ b/sdk/ext/ovirtsdk4c/ov_xml_reader.c @@ -430,7 +430,7 @@ void ov_xml_reader_define(void) { rb_require("stringio"); /* Define the class: */ - ov_xml_reader_class = rb_define_class_under(ov_module, "XmlReader", rb_cData); + ov_xml_reader_class = rb_define_class_under(ov_module, "XmlReader", rb_cObject); /* Define the constructor: */ rb_define_alloc_func(ov_xml_reader_class, ov_xml_reader_alloc);