2017-06-11 22:56 GMT+02:00 Catonano :
> Amirouche, Thomas,
>
>
> 2017-06-09 10:00 GMT+02:00 Amirouche Boubekki <
> amirouche.boube...@gmail.com>:
>
>> It's something like (bytevector->pointer (make-vector)) there is a
>> make-double-pointer procedure in guile git
>>
>
> I have overlooked both you
Amirouche, Thomas,
2017-06-09 10:00 GMT+02:00 Amirouche Boubekki
:
> It's something like (bytevector->pointer (make-vector)) there is a
> make-double-pointer procedure in guile git
>
I have overlooked both your remarks and Thomas's remarks
I apologize, I was not understanding the issue corre
Chris,
2017-06-09 13:18 GMT+02:00 Chris Vine :
> On Fri, 9 Jun 2017 10:17:18 +0200
> Catonano wrote:
> > 2017-06-09 10:00 GMT+02:00 Amirouche Boubekki
> > :
> >
> > > It's something like (bytevector->pointer (make-vector)) there is a
> > > make-double-pointer procedure in guile git
> >
> > Tha
> On Fri, 9 Jun 2017 10:17:18 +0200
> Catonano wrote:
> >
> If you want to manipulate a scheme bytevector at the C level you can
> also look at the c-write procedure here for ideas:
> https://github.com/ChrisVine/guile-a-sync/blob/master/lib/unix_write.
> c
>
> (As a point of detail, this proced
On Fri, 9 Jun 2017 10:17:18 +0200
Catonano wrote:
> 2017-06-09 10:00 GMT+02:00 Amirouche Boubekki
> :
>
> > It's something like (bytevector->pointer (make-vector)) there is a
> > make-double-pointer procedure in guile git
>
> Thank you !!
>
> I took a look at the guile-gcrypt code and I found
Thomas,
2017-06-09 9:43 GMT+02:00 Thomas Danckaert :
> From: Catonano
> 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
Amirouche,
2017-06-09 10:00 GMT+02:00 Amirouche Boubekki
:
> It's something like (bytevector->pointer (make-vector)) there is a
> make-double-pointer procedure in guile git
>
>
Thank you !!
I took a look at the guile-gcrypt code and I found
(bytevector->pointer (make-bytevector (sizeof '*))
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" a
écrit :
> From: Catonano
> Subject: segmenation fault
> Date: Fri, 9 Jun 2017 09:21:35 +0200
>
> prob
From: Catonano
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
in using the guile FFI I am having a segmentation fault
This is the C unction that I'm trying to wrap
https://www.gaia-gis.it/gaia-sins/freexl-1.0.1-doxy-doc/html/freexl_8h.html#acbd27ba5bc7b21d4ae32c0542d51f1e4
My code is here
https://gitlab.com/humanitiesNerd/guile-freexl
(configure is to be c
10 matches
Mail list logo