Cyclone Scheme  0.28.0

◆ _read_next_char

#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); \
} \
}

Helper macro for Cyc_io_read_token.

Cyc_EOF
const object Cyc_EOF
Definition: runtime.c:200
return_thread_runnable_with_obj
#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:476
read_from_port
int read_from_port(port_type *p)
Helper function to perform a buffered read from an input port.
Definition: runtime.c:7033