parrotcode: Parrot Interpreter miscellaneous functions | |
Contents | C |
src/inter_misc.c - Parrot Interpreter miscellaneous functions
NCI function setup,
compiler registration,
interpinfo
,
and sysinfo
opcodes.
void register_nci_method
nci_method_table
for the given NCI method of PMC class type
.
void register_raw_nci_method_in_ns
nci_method_table
for the given raw NCI method of PMC class type
.
void Parrot_mark_method_writes
name
on PMC type type
as one that modifies the PMC.
void Parrot_compreg
PMC *Parrot_compile_string
void *Parrot_compile_file
INTVAL interpinfo
what
specifies the type of information you want about the interpreter.
PMC *interpinfo_p
what
specifies the type of information you want about the interpreter.
STRING *interpinfo_s
INTVAL sysinfo_i
info_wanted
is one of:
PARROT_INTSIZE PARROT_FLOATSIZE PARROT_POINTERSIZE PARROT_INTMAX PARROT_INTMINIn unknown info is requested then -1 is returned.
STRING *sysinfo_s
info_wanted
is one of:
PARROT_OS PARROT_OS_VERSION PARROT_OS_VERSION_NUMBER CPU_ARCH CPU_TYPEIf unknown info is requested then an empty string is returned.
|