On Tue, Apr 20, 2021 at 05:34:59PM -0700, Matt Wette wrote:
...
> Hey.   I used the glib routine because it returns the same form,
> if I read correctly.   The return value is a pointer to a sequence
> of (C) pointers.  On my machine they are 8 bytes each.  So, if
> the function is returning three strings, say, the first 8 bytes will
> be a pointer to the first string and last 8 bytes (of a total of 32
> = 4 * 8) will be zero.  You need to access the three 8-byte
> pointer values as numbers and convert to guile pointers to
> access the strings.   I don't see a way around that.
> 
> I don't see this being a problem with gcc vs g++.   Maybe in
> structs with mixed types, but not here, IMO.

I'm much relieved to hear it, thank you for your time.

  Vladimir

Reply via email to