| parrotcode: The base vtable calling functions | |
| Contents | C | 

src/pmc.c - The base vtable calling functions


pmc_newbase_type (which is an index into the list of PMC types declared in vtables in include/parrot/pmc.h).
Once the PMC has been successfully created and its vtable pointer initialized,
we call its init method to perform any other necessary initialization.pmc_reuseget_new_pmc_headerpmc_new_noinitbase_type (which is an index into the list of PMC types declared in vtables in include/parrot/pmc.h).
Unlike pmc_new(),
pmc_new_noinit() does not call its init method.
This allows separate allocation and initialization for continuations.constant_pmc_new_noinitbase_type.constant_pmc_newbase_type,
the call init.pmc_new_initpmc_new(),
but passes init to the PMC's init_pmc() method.constant_pmc_new_initconstant_pmc_new,
but passes init to the PMC's init_pmc method.pmc_registerpmc_typename.pmc_type_pname.Parrot_create_mro
dod_register_pmcdod_unregister_pmc
Parrot_create_pmc_proxy
include/parrot/vtable.h.
5.1.0.14.2.20011008152120.02158148@pop.sidhe.org (http://www.nntp.perl.org/group/perl.perl6.internals/5516).

Initial version by Simon on 2001.10.20.
|  |   |