[ruby-core:67092] [ruby-trunk - Bug #10621] [Closed] no parent in rb_data_type_t

From: nobu@...
Date: 2014-12-24 03:16:55 UTC
List: ruby-core #67092
Issue #10621 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r48962.

----------
ruby.h: parent in rb_data_type_t

* ruby.h (rb_data_type_t): revert r48647 and revise parent member.
  [ruby-core:66969] [Bug #10621]

----------------------------------------
Bug #10621: no parent in rb_data_type_t
https://bugs.ruby-lang.org/issues/10621#change-50605

* Author: Hans Mackowiak
* Status: Closed
* Priority: Immediate
* Assignee: Nobuyoshi Nakada
* Category: core
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-12-19 trunk 48891) [x86_64-linux]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED
----------------------------------------
`rb_data_type_t` does need to have a parent type otherwise it cant bind objects anymore that have a tree style ClassTree like in C++ or simulated with gtk

in C++ like Class B and Class C does inherit both Class A, cant be ported with ruby anymore because with that Class A cant have its own datatype anymore because the datatype check does break the inheritence. (id did worked before because it did had parent



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next