NAME ^

src/inter_cb.c - Parrot Interpreter - Callback Function Handling

DESCRIPTION ^

NCI callback functions may run whenever the C code executes the callback. To be prepared for asynchronous callbacks these are converted to callback events.

Often callbacks should run synchronously. This can only happen when the C-library calls the callback, because Parrot called a function in the C-library.

Functions ^

Parrot_make_cb

Create a callback function according to pdd16.

verify_CD

Verify user_data PMC then continue with callback_CD

callback_CD

Common callback function handler. See pdd16.

Parrot_run_callback

Run a callback function. The PMC* user_data holds all necessary items in its properties.

Parrot_callback_C

Parrot_callback_D

NCI callback functions. See pdd16.


parrot