Ludovic Courtès
|
d12f974b43
|
Change `dynamic-link' to return a global handle when the argument is omitted.
* libguile/dynl.c (sysdep_dynl_link): Handle FNAME == NULL.
(scm_dynamic_link): Make argument optional. Adjust body accordingly.
* test-suite/standalone/test-ffi (global, strerror, strlen): New
bindings.
Add test for these bindings.
* doc/ref/api-modules.texi (Low level dynamic linking): Update
description of `dynamic-link'.
|
2010-03-17 00:54:01 +01:00 |
|
Andy Wingo
|
17d819d4c4
|
add a test for ffi and pointers
* test-suite/standalone/test-ffi:
* test-suite/standalone/test-ffi-lib.c: Add a pointer test.
|
2010-01-27 22:25:29 +01:00 |
|
Andy Wingo
|
c612ed59ab
|
add a test for foreign functions taking struct args
* test-suite/standalone/test-ffi (f-sum-struct):
* test-suite/standalone/test-ffi-lib.c (test_ffi_sum_struct): Add a
struct test. Wheee....
|
2010-01-26 22:56:42 +01:00 |
|
Andy Wingo
|
37371ea1ba
|
add ffi tests
* test-suite/standalone/Makefile.am:
* test-suite/standalone/test-ffi:
* test-suite/standalone/test-ffi-lib.c: Add some tests for the ffi.
|
2010-01-26 22:56:42 +01:00 |
|