unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Vladimir Zhbanov <vzhbanov@gmail.com>
To: guile-user@gnu.org
Subject: Re: Lepton EDA 1.9.14 announce and misc questions
Date: Wed, 21 Apr 2021 10:53:25 +0300	[thread overview]
Message-ID: <YH/Z9d7gpQEJFr9M@lepton> (raw)
In-Reply-To: <e93774c0-e0e3-4943-b9a4-f5035d77a41c@gmail.com>

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	other threads:[~2021-04-21  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20  9:29 Lepton EDA 1.9.14 announce and misc questions Vladimir Zhbanov
2021-04-20 12:47 ` Matt Wette
2021-04-20 13:46   ` Matt Wette
2021-04-20 23:36     ` Vladimir Zhbanov
2021-04-21  0:34       ` Matt Wette
2021-04-21  7:53         ` Vladimir Zhbanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YH/Z9d7gpQEJFr9M@lepton \
    --to=vzhbanov@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).