diff options
author | Andy Wingo <wingo@oblong.net> | 2010-02-17 17:34:58 +0100 |
---|---|---|
committer | Andy Wingo <wingo@oblong.net> | 2010-02-17 17:34:58 +0100 |
commit | 44d70904a6ae93e0a844dedf65b2f84dc93a5048 (patch) | |
tree | cf25d4a5b65036af1d3d89e291a67569fbcd6292 | |
parent | 691b9ec196203fa5d6da3530d5355b2f73e707d1 (diff) | |
download | guile-44d70904a6ae93e0a844dedf65b2f84dc93a5048.tar.gz |
slight NEWS tweaks
* NEWS: Slight tweaks.
-rw-r--r-- | NEWS | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -36,11 +36,13 @@ function as a "foreign" object at the Scheme level; using libffi, Guile can construct calls to these functions. The arguments to a C function may be integers, floating point numbers, -pointers, and structs. From Scheme they are all represented as foreign +pointers, and structs. Numbers are passed using their normal Scheme +representations, and pointers and structs are represented as foreign objects. Foreign objects can be converted back and forth to/from a -bytevector. They can have an associated finalizer (e.g., a procedure -that will reclaim any associated resources when the object becomes -unreachable); alternatively, they can be finalized using a guardian. +bytevector. They can have an associated foreign finalizer (e.g., a +procedure that will reclaim any associated resources when the object +becomes unreachable); alternatively, they can be finalized using a +guardian. The `(system foreign)' API is currently low-level and possibly inconvenient. It will be extended to provide higher-level constructs. |