#1449: Add support for String PMC in NameSpace::get_pmc_keyed
-----------------------------+----------------------------------------------
Reporter: Austin_Hastings | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------------+----------------------------------------------
Comment(by whiteknight):
Replying to [comment:2 NotFound]:
> I think that allowing String arrays for nested namespaces may be useful.
They are easier to create dynamically than Keys.
So howabout this for a final design:
- For Key PMCs, follow current behavior to return a nested namespace
- For PMCs that "does array", loop over VTABLE_get_string_keyed_int to
return a nested namespace
- For other types, use VTABLE_get_string to get a non-nested namespace.
Does this satisfy everybody's requirements?
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1449#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets