Ticket #1531 (closed deprecation: fixed)

Opened 5 years ago

Last modified 4 years ago

[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

Changed 5 years ago by gerd

  • milestone changed from 2.4 to 2.5

Changed 4 years ago by plobsing

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.