Ticket #1531 (closed deprecation: fixed)
[DEPRECATION] Parrot_VTABLE
Reported by: | plobsing | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 2.5 |
Component: | none | Version: | 2.2.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Parrot_VTABLE, as part of parrot's API does not provide functionality that should be used outside of parrot's core. The only functions using this type are:
- Parrot_get_vtable() - get the vtable for a PMC type
- Parrot_PMC_set_vtable() - reset the vtable for a PMC
The only conceivable use for this would be type-casting PMCs, but this is not a commonly advised practice with PMCs.
I can imagine that an API to allow vtable overrides could be created out of this, however, that kind of operation may not be appropriate for this API (knowledge of vtable signatures implies knowledge of core), and this functionality should be added only when and if the need arises.
Change History
Note: See
TracTickets for help on using
tickets.