diff options
author | Andy Wingo <wingo@pobox.com> | 2011-03-17 10:39:02 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-03-17 10:39:02 +0100 |
commit | 148c3317691d5b7d2414179031f87905454cb11a (patch) | |
tree | d5c8549de65fb07c83ab52461ef75574bd9bec5f /libguile/ports.c | |
parent | f5fc7e5710438389b21c5c754e959a5554561868 (diff) | |
download | guile-148c3317691d5b7d2414179031f87905454cb11a.tar.gz |
add pointer->scm, scm->pointer
* libguile/foreign.c (scm_pointer_to_scm, scm_scm_to_pointer): New
functions, useful to pass and receive SCM values to and from foreign
functions.
* module/system/foreign.scm: Export the new functions.
* doc/ref/api-foreign.texi (Foreign Variables): Add docs.
* test-suite/tests/foreign.test ("pointer<->scm"): Tests.
Diffstat (limited to 'libguile/ports.c')
0 files changed, 0 insertions, 0 deletions