| 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_methodnci_method_table for the given NCI method of PMC class type.
void register_raw_nci_method_in_nsnci_method_table for the given raw NCI method of PMC class type.
void Parrot_mark_method_writesname on PMC type type as one that modifies the PMC.
void Parrot_compregPMC *Parrot_compile_stringvoid *Parrot_compile_fileINTVAL interpinfowhat specifies the type of information you want about the interpreter.
PMC *interpinfo_pwhat specifies the type of information you want about the interpreter.
STRING *interpinfo_sINTVAL sysinfo_iinfo_wanted is one of:
PARROT_INTSIZE
PARROT_FLOATSIZE
PARROT_POINTERSIZE
PARROT_INTMAX
PARROT_INTMIN
In unknown info is requested then -1 is returned.
STRING *sysinfo_sinfo_wanted is one of:
PARROT_OS
PARROT_OS_VERSION
PARROT_OS_VERSION_NUMBER
CPU_ARCH
CPU_TYPE
If unknown info is requested then an empty string is returned.
|
|
|