parrotcode: Parrot Interpreter Creation and Destruction | |
Contents | C |
src/inter_create.c - Parrot Interpreter Creation and Destruction
Create or destroy a Parrot interpreter
PARROT_WARN_UNUSED_RESULT static int is_env_var_set(ARGIN(const char *var))
static void setup_default_compreg(PARROT_INTERP)
PARROT_API PARROT_CANNOT_RETURN_NULL Parrot_Interp make_interpreter(NULLOK(Interp *parent), INTVAL flags)
PARROT_API void Parrot_destroy(PARROT_INTERP)
ATEXIT_DESTROY
is defined.
Otherwise calls Parrot_really_destroy()
with exit code 0.void Parrot_really_destroy(PARROT_INTERP, SHIM(int exit_code), SHIM(void *arg))
exit_code
is ignored.include/parrot/interpreter.h, src/interpreter.c.
|