Cyclone Scheme  0.9
#define _read_next_char (   data,
  cont,
 
)
Value:
if (p->mem_buf_len == 0 || p->mem_buf_len == p->buf_idx) { \
int rv = read_from_port(p); \
if (!rv) { \
if (p->tok_end) _read_return_atom(data, cont, p); \
} \
}
const object Cyc_EOF
Definition: runtime.c:156
void _read_return_atom(void *data, object cont, port_type *p)
Helper function, return read atom.
Definition: runtime.c:6820
int read_from_port(port_type *p)
Helper function to perform a buffered read from an input port.
Definition: runtime.c:6249
#define return_thread_runnable_with_obj(d, r, maybe_copied)
Return from a blocked thread with an object that may have been copied. If the object was copied we ne...
Definition: types.h:413

Helper macro for Cyc_io_read_token.