1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00
guile/module/system
Ludovic Courtès fa2a89a6d1 Add string->pointer' and pointer->string' to the FFI.
* libguile/foreign.c (scm_string_to_pointer, scm_pointer_to_string): New
  functions.

* libguile/foreign.h (scm_string_to_pointer, scm_pointer_to_string): New
  declarations.

* module/system/foreign.scm: Export `string->pointer' and
  `pointer->string'.

* test-suite/tests/foreign.test ("pointer<->string"): New test prefix.

* doc/ref/api-foreign.texi (Void Pointers and Byte Access): Add
  `string->pointer' and `pointer->string'.
2010-08-15 16:43:39 +02:00
..
base Check for go/scm mtime ordering rather than equality. 2010-07-26 19:38:52 +02:00
repl fix stack narrowing for tail-call to throw 2010-08-06 17:39:51 +02:00
vm remove (system vm debug) 2010-07-16 17:35:43 +02:00
foreign.scm Add string->pointer' and pointer->string' to the FFI. 2010-08-15 16:43:39 +02:00
xref.scm use nested-ref-module in (system xref) 2010-04-24 17:42:00 +02:00