#613: Dispatch classes should be wrapped in an Data struct to allow subclassing
----------------------------------------+-----------------------------------
Reporter: ernest.prabha...@… | Owner: pthom...@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
----------------------------------------+-----------------------------------
Comment(by pthom...@…):
I had considered making a Dispatch::Base object, but it seemed like
overkill.
I'm actually not sure that any of the Dispatch objects can be subclassed
safely, since they are all of type T_DATA.
Calling DATA_PTR() on a subclass of a T_DATA object causes a segmentation
fault.
I need to look into whether it's possible for subclasses of T_DATA to
behave properly when they have to interact with C code.
I guess this patch doesn't do much, then. *wry grin*
--
Ticket URL: <http://www.macruby.org/trac/ticket/613#comment:5>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel