rb_typeddata_inherited_p 598 error.c !RTYPEDDATA_P(obj) || !rb_typeddata_inherited_p(RTYPEDDATA_TYPE(obj), data_type)) { rb_typeddata_inherited_p 622 error.c else if (!rb_typeddata_inherited_p(RTYPEDDATA_TYPE(obj), data_type)) { rb_typeddata_inherited_p 1120 include/ruby/ruby.h int rb_typeddata_inherited_p(const rb_data_type_t *child, const rb_data_type_t *parent);