| parrotcode: Parrot Interpreter - Misc functions | |
| Contents | C |

src/inter_misc.c - Parrot Interpreter - Misc functions

NCI function setup,
interpinfo,
and sysinfo opcodes.

void enter_nci_method(Parrot_Interp interpreter, int type, void *func, const char *name, const char *proto)nci_method_table for the given NCI method of PMC class type.void Parrot_compreg(Parrot_Interp interpreter, STRING *type, Parrot_compiler_func_t func);INTVAL interpinfo(Interp *interpreter, INTVAL what)PMC *interpinfo_p(Interp *interpreter, INTVAL what)what specifies the type of information you want about the interpreter.INTVAL sysinfo_i(Parrot_Interp interpreter, INTVAL info_wanted)info_wanted is one of: PARROT_INTSIZE
PARROT_FLOATSIZE
PARROT_POINTERSIZE
STRING *sysinfo_s(Parrot_Interp interpreter, INTVAL info_wanted)info_wanted is one of: PARROT_OS
PARROT_OS_VERSION
PARROT_OS_VERSION_NUMBER
CPU_ARCH
CPU_TYPE

include/parrot/interpreter.h.
|
|
|