summaryrefslogtreecommitdiff
path: root/lib/safe-write.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-02-05 11:11:56 +0100
committerLudovic Courtès <ludo@gnu.org>2010-02-10 00:40:01 +0100
commitbde92e6b3bbd15c7abaf29bc0557041b88df8d74 (patch)
tree3e40524196deb02ba38460cc32be04bc1cb4a710 /lib/safe-write.h
parent0c368d2b2811fb856c9551e7ad217f8e5636024f (diff)
downloadguile-bde92e6b3bbd15c7abaf29bc0557041b88df8d74.tar.gz
Change `write-bytecode' to accept a bytevector.
* module/language/assembly/compile-bytecode.scm (write-bytecode): Replace the WRITE-BYTE and GET-ADDR parameters with PORT. New ADDRESS and EMIT-OPCODE? parameters. Callers updated. [write-byte, get-addr]: New procedures. Adjust to write to PORT. (compile-bytecode): Update accordingly. * test-suite/tests/asm-to-bytecode.test (munge-bytecode): Return a bytevector instead of a u8vector. (comp-test): Deal with bytevectors.
Diffstat (limited to 'lib/safe-write.h')
0 files changed, 0 insertions, 0 deletions