#895: Towards automatic allocation and deallocation of PMC attributes
----------------------+-----------------------------------------------------
Reporter: NotFound | Owner: NotFound
Type: feature | Status: assigned
Priority: normal | Milestone:
Component: none | Version: 1.4.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Comment(by NotFound):
The last patch is the current attempt: it introduces a new flag for the
PMC declaration, auto_attrs, that declares that the PMC wants automatic
allocation of the attributes struct, and deallocation if it has not been
cleared during destroy.
The effect of the flag is to store in the vtable the size of the
structure, this value is checked by the pmc allocation functions.
The patch also includes his usage in several PMC.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/895#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets