Commit graph

13 commits

Author SHA1 Message Date
Alexei Lozovsky
cc23efac16
Initialize variables in FFI tests
These ones are used to compute averages. If they are not initialized to
zero, they might contain some garbage. In fact, they almost always do
on platforms other that x86_64, failing the FFI tests. If optimizations
are enabled, these tests usually fail on x86_64 too. The reason this
went unnoticed is contrived set of coincidences.
2021-06-06 11:19:52 +09:00
Alex Shinn
0f5f552b6d adding ffi unit tests for arrays of pointers 2020-07-24 15:51:12 +09:00
Alex Shinn
a88a1ad244 adding ffi test with unsigned-char param 2020-01-27 22:19:51 +08:00
Alex Shinn
d79f557d46 fix variadic foreign functions with more than 4 params 2019-12-19 23:58:51 +08:00
Alex Shinn
2b4394ea74 adding initial support for SRFI 160 uniform vectors 2019-01-15 23:43:50 +08:00
Alex Shinn
d8e2e4aa54 add support for user-defined error types and functions in ffi, address-of, frameworks 2018-04-14 23:22:02 +09:00
Alex Shinn
50d7cedb3f Fixing constructors and setters for nested structs (issue #370). 2016-07-06 23:22:04 +09:00
Alex Shinn
cccfe33f7f patch from kipples for ffi struct args (fixes issue #330) 2016-05-18 22:36:59 +09:00
okuoku
c7cf34fc6f tests/ffi: Complete removal of delete-file on .dll
This delete-file would lead test failure on Cygwin and defer actual file
deletion.
2016-02-02 08:24:48 +09:00
Alex Shinn
c6ffc27959 patch from okuoku fixing ffi tests on cygwin 2016-02-01 21:29:25 +09:00
Alex Shinn
3e28bdef8b wrap delete-file in protect for cygwin
The file may still be referenced by the parent process.
Fixes issue #302.
2016-01-25 22:04:14 +09:00
Alex Shinn
2e4d0aed91 Handling non-pointer struct return types in the ffi. We do a flat memcopy
of the struct to heap.  Only the base case is supported - combining with
multiple values or returning fixed-size arrays of structs won't work.
Fixes issue #270.
2015-06-22 23:01:44 +09:00
Alex Shinn
2922ed591d Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00