2
;;; Test for an array of function pointers
7
(test-start "fptr_array-test")
10
(test-module 'c-wrapper)
12
(c-load-library "./fptr_array")
13
(c-include "./fptr_array.h")
18
(let ((foo (make (c-struct 'foo)))
22
(fptr_array_set (ptr foo))
23
(set! results (fptr_array_test (ptr foo) (ptr v)))
24
(map identity (cast (c-array <c-int> 2) results)))))