parrotcode: IO Layer for strings | |
Contents | C |
src/io/io_string.c - IO Layer for strings
Capture output to a string PMC.
PARROT_WARN_UNUSED_RESULT PARROT_CANNOT_RETURN_NULL ParrotIOLayer *PIO_string_register_layer(void)
static size_t PIO_string_read(SHIM_INTERP, NOTNULL(ParrotIOLayer *l), SHIM(ParrotIO *io), NOTNULL(STRING **buf))
static size_t PIO_string_write(PARROT_INTERP, NOTNULL(ParrotIOLayer *l), SHIM(ParrotIO *io), NOTNULL(STRING *s))
src/io/io_passdown.c, src/io/io.c, src/io/io_layers.c, src/io/io_private.h.
Initially written by chromatic.
|