diff options
Diffstat (limited to 'spec/rubyspec/optional/capi/ext/typed_data_spec.c')
-rw-r--r-- | spec/rubyspec/optional/capi/ext/typed_data_spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rubyspec/optional/capi/ext/typed_data_spec.c b/spec/rubyspec/optional/capi/ext/typed_data_spec.c index 8436c527be..8c9a0708b4 100644 --- a/spec/rubyspec/optional/capi/ext/typed_data_spec.c +++ b/spec/rubyspec/optional/capi/ext/typed_data_spec.c @@ -154,7 +154,7 @@ VALUE sws_typed_change_struct(VALUE self, VALUE obj, VALUE new_val) { void Init_typed_data_spec(void) { VALUE cls; cls = rb_define_class("CApiAllocTypedSpecs", rb_cObject); - + #if defined(HAVE_RTYPEDDATA) && defined(HAVE_TYPEDDATA_WRAP_STRUCT) rb_define_alloc_func(cls, sdaf_alloc_typed_func); rb_define_method(cls, "typed_wrapped_data", sdaf_typed_get_struct, 0); |