Matt S Trout > Rakudo-Star-2012.08_001 > src/pmc/ptrobj.pmc

Download:
Rakudo-Star-2012.08_001.tar.gz

Annotate this POD

Source  

NAME ^

src/pmc/ptrobj.pmc - PtrObj

DESCRIPTION ^

PtrObj is for object-ish pointers. These augment PtrBuf to afford memory management.

VTABLEs

PMC *clone()

Invoke the custom clone function, if one has been provided. Otherwise, cloning is an error.

METHOD clone_func(func :optional)

Get or set the custom clone function.

void mark()

Invoke the custom mark function, if one has been provided.

METHOD mark_func(func :optional)

Get or set the custom mark function.

void destroy()

Invoke the custom destroy function if one has been provided.

METHOD destroy_func(func :optional)

Get or set the custom destroy function.

syntax highlighting: