[MacRuby] #942: feature: Please implement Pointer#to_a, Pointer#each.
MacRuby
ruby-noreply at macosforge.org
Sat Dec 4 15:47:52 PST 2010
#942: feature: Please implement Pointer#to_a, Pointer#each.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: MacRuby | Resolution: wontfix
Keywords: |
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):
* status: new => closed
* resolution: => wontfix
Comment:
I think making Pointer Enumerable is not a good idea as some pointers
don't know about their bounds (for example, Pointer objects created as the
result values of C or Objective-C calls). Therefore, #each & friends would
not work on them, leaving an inconsistent experience.
--
Ticket URL: <http://www.macruby.org/trac/ticket/942#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list