guile-user
[Top][All Lists]
Advanced

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

Re: segmenation fault


From: Amirouche Boubekki
Subject: Re: segmenation fault
Date: Fri, 9 Jun 2017 01:00:49 -0700

 It's something like (bytevector->pointer (make-vector)) there is a
make-double-pointer procedure in guile git

Le 9 juin 2017 9:47 AM, "Thomas Danckaert" <address@hidden> a
écrit :

> From: Catonano <address@hidden>
> Subject: segmenation fault
> Date: Fri, 9 Jun 2017 09:21:35 +0200
>
> probably this line
>> (scm->pointer 0)
>> is not correct
>>
>> But I don't know how to produce a void pointer and then pass it to
>> freexl-open
>>
>
> It seems you need a void ** (pointer to void pointer).  I'm not familiar
> with Guile FFI, but (scm->pointer 0) is probably a pointer to an int?
>
> Perhaps (scm->pointer %null-pointer) will return a void**?
>
> Thomas
>
>


reply via email to

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