guile-user
[Top][All Lists]
Advanced

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

Re: segmenation fault


From: Catonano
Subject: Re: segmenation fault
Date: Fri, 9 Jun 2017 22:18:40 +0200

Chris,

2017-06-09 13:18 GMT+02:00 Chris Vine <address@hidden>:

> On Fri, 9 Jun 2017 10:17:18 +0200
> Catonano <address@hidden> wrote:
> > 2017-06-09 10:00 GMT+02:00 Amirouche Boubekki
> > <address@hidden> :
> >
> > >  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 '*))
> >
> > I was going to write this right now !
> >
> > It works !
> > I just called freexl-open and it returned 0 !!
>
> 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


thanks for the pointer, but I was hoping to pull this off remaining
entirely on the Scheme side

I don't know if that will be possible, tough; now I have a new poblem, but
I'm gonna open a new thread for that

Thanks again


reply via email to

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