Re: make-c-struct and pointer->string

2019-03-28 Thread Amirouche Boubekki
Eventually, I can reproduced the issue with guile-next from guix: scheme@(guile-user) [1]> (make-c-struct (list '* '*) (list (string->pointer "hello ") (string->pointer "there!"))) $5 = # scheme@(guile-user) [1]> (parse-c-struct $5 (list '* '*)) $6 = (# #) scheme@(guile-user) [1]> (map pointer->st

Re: make-c-struct and pointer->string

2019-03-28 Thread David Pirotte
Hi Amirouche, I should add to your own answer that you actually were unable to reproduce the problem while using the latest 2.2 release tarball (the one that Ubuntu packages to be (even) more precise), as one can see on your gnome paste earlier today [1] So, if this is corect, there must be a co

Re: make-c-struct and pointer->string

2019-03-28 Thread Neil Jerram
On Thu, 28 Mar 2019 at 15:15, Amirouche Boubekki wrote: > > Eventually, I can reproduced the issue with guile-next from guix: > > scheme@(guile-user) [1]> (make-c-struct (list '* '*) (list (string->pointer > "hello ") (string->pointer "there!"))) > $5 = # > scheme@(guile-user) [1]> (parse-c-struc