if (p->mem_buf_len == 0 || p->mem_buf_len == p->buf_idx) { \
if (!rv) { \
if (p->tok_end) _read_return_atom(data, cont, p); \
} \
}
const object Cyc_EOF
Definition: runtime.c:196
int read_from_port(port_type *p)
Helper function to perform a buffered read from an input port.
Definition: runtime.c:6933
#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:475
Helper macro for Cyc_io_read_token.