diff options
author | Andy Wingo <wingo@pobox.com> | 2010-01-18 14:36:23 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-01-26 22:56:41 +0100 |
commit | 20aafae22a4f11289b65dba685495a808ebd6b07 (patch) | |
tree | 4356c3736e256673d46b227f90d57dc33ece249a /libguile/vm-i-loader.c | |
parent | ab4779ffcfb463201d46459e06b9188dd5f1cbda (diff) | |
download | guile-20aafae22a4f11289b65dba685495a808ebd6b07.tar.gz |
byte access to foreigns via bytevectors
* libguile/foreign.h:
* libguile/foreign.c (scm_foreign_ref, scm_foreign_set_x): Remove all
bits about offsets and aliasing; bytevectors are much better at that.
(scm_foreign_to_bytevector, scm_bytevector_to_foreign): New functions
for getting at the bytes of a memory region.
* module/system/foreign.scm (foreign->bytevector, bytevector->foreign):
Export these.
Diffstat (limited to 'libguile/vm-i-loader.c')
0 files changed, 0 insertions, 0 deletions