Cyclone Scheme
0.28.0
|
◆ make_port
Value:
port_type p; \
p.hdr.grayed = 0; \
p.hdr.immutable = 0; \
p.tag = port_tag; \
p.fp = f; \
p.mode = m; \
p.flags = 0; \
p.line_num = 1; \
p.col_num = 1; \
p.buf_idx = 0; \
p.tok_start = 0; \
p.tok_end = 0; \
p.tok_buf = NULL; \
p.tok_buf_len = 0; \
p.mem_buf = NULL; \
p.mem_buf_len = 0; \
p.str_bv_in_mem_buf = NULL; \
p.str_bv_in_mem_buf_len = 0; \
p.read_len = 1;
Create a new port object in the nursery |