Alex Shinn
d1eeea1a66
Adding sexp_bytes_maybe_null_data macro for bytevector FFI support.
2014-08-22 22:40:19 +09:00
Alex Shinn
6f57be54ea
Do the right thing for #e1e100.
...
Yuck, need to rewrite the number parsing.
2014-08-06 22:49:25 +09:00
Alex Shinn
213af9c098
Fixing sexp_context_align_pos when SEXP_USE_ALIGNED_BYTECODE is enabled.
2014-07-31 22:31:33 +09:00
Alex Shinn
676b39d82a
Moving ephemerals into the core. Using them as a weak table to store filenos,
...
and enforcing the invariant that there is only one fileno object with a given
number at a time.
2014-05-31 14:20:00 +09:00
Alex Shinn
22e2a08563
Fixing custom ports built without utf8 support.
2014-05-08 06:47:33 -04:00
Alex Shinn
ad83b1b00c
Adding sexp_current_input_port(ctx) and sexp_current_output_port(ctx) macros.
2014-03-19 21:54:22 +09:00
Alex Shinn
8b5eb68238
File descriptors maintain a reference count of ports open on them
...
They can be close()d explicitly with close-file-descriptor, and
will close() on gc, but only explicitly closing the last port on
them will close the fileno. Notably needed for network sockets
where we open separate input and output ports on the same socket.
2014-02-20 22:32:50 +09:00