parrotcode: Parrot Interpreter - Callback Function Handling | |
Contents | C |
src/inter_cb.c - Parrot Interpreter - Callback Function Handling
NCI callback functions may run, whenever the C code executes the calback. To be prepared for async callbacks these are converted to callback events.
PMC *Parrot_make_cb(Parrot_Interp interpreter, PMC *sub, PMC *user STRING *cb_signature)
static void verify_CD(void *external_data, PMC *callback_info)
static void callback_CD(Parrot_Interp, void *external_data, PMC *callback_info)
void
void Parrot_callback_C(void *external_data, PMC *callback_info)
void Parrot_callback_D(PMC *callback_info, void *external_data)
include/parrot/interpreter.h, "pdds/pdd16_native_call.pod" in docs.
Hey! The above document had some coding errors, which are explained below:
|