parrotcode: Untitled | |
Contents | Perl Modules |
count_newlines($string)
\n
) in $string
.dont_edit($pmcfile)
$pmcfile
is the name of the original source *.pmc file.gen_ret($method, $body)
return
statement,
if the body is empty then make a cast if needed.dynext_load_code($library_name, %classes)
$library_name
is the name of the dynamic library to be created.%classes
is a map from the PMC names for which code is to be generated,
to dump info (PMC metadata).c_code_coda()
open_file()
$fh = open_file( "<", $file );
Purpose: Utility subroutine.
Arguments: List of scalars: two required, one optional.
String holding action/direction desired: <
for reading or >>
for writing or appending.
String holding name of file to be opened.
Return Values: Filehandle to file so opened.
Comment: Called within dump_vtable()
, read_dump()
, and dump_pmc()
.
|