guile-user
[Top][All Lists]
Advanced

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

Re: Lepton EDA 1.9.14 announce and misc questions


From: Vladimir Zhbanov
Subject: Re: Lepton EDA 1.9.14 announce and misc questions
Date: Wed, 21 Apr 2021 10:53:25 +0300

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

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