guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FFI arg_types for C array


From: Nala Ginrut
Subject: Re: FFI arg_types for C array
Date: Wed, 11 Mar 2020 02:50:29 +0800

If I understand your question correctly,  the arg_type should be (list int
'*)

On Tue, Mar 10, 2020 at 10:25 PM Myles English <address@hidden>
wrote:

> Hello,
>
> I am trying to call a C function with this signature from Guile:
>
> void the_test(int n, const int the_array[]);
>
> In the description here:
> https://www.gnu.org/software/guile/manual/html_node/Dynamic-FFI.html
> in pointer->procedure what should arg_types be?
>
> Thanks,
> Myles
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]