From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Zhbanov Newsgroups: gmane.lisp.guile.user Subject: Re: Lepton EDA 1.9.14 announce and misc questions Date: Wed, 21 Apr 2021 10:53:25 +0300 Message-ID: References: <510bfaf9-aa4f-50cd-deb3-7a15247a9bfa@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3150"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Apr 21 09:53:56 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZ7gJ-0000gE-HZ for guile-user@m.gmane-mx.org; Wed, 21 Apr 2021 09:53:55 +0200 Original-Received: from localhost ([::1]:57666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ7gI-0005qd-Kj for guile-user@m.gmane-mx.org; Wed, 21 Apr 2021 03:53:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ7fv-0005qW-Gy for guile-user@gnu.org; Wed, 21 Apr 2021 03:53:31 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:40700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZ7ft-0003Jp-SN for guile-user@gnu.org; Wed, 21 Apr 2021 03:53:31 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id h36so11322836lfv.7 for ; Wed, 21 Apr 2021 00:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=CgKZnGsmuYcySSS6mdi9kfkhXxovkB3mLYF7Mkz/EEI=; b=QDCQ9ghS5ouOmm51+EZPuA3rP/NR6PBkfMw5DQ5Ag9LYfrezF1eR1uvgUsY751z0f0 SDs6zx/5y773u4qZczuWKUzJp5aFsjwrgdS8aV6MAJXRctNjuGciPSj/XLFiDHM7D+Cj FNTQt9lOWWEJQgEQQNf7vgOiGczsa5oTV7RaeFz1QFZYW3eGNSqMO/M2ghJ/HdJdy64x 4eURERjM3gPqpaSP1/GZrcdoq0Pua3yZ9wpZz0I+05wFV2hVVmlpK6uqIOMYSUoPcY94 6gCqdnlhaycAJxN13U09Pvgs7J4SezGGGEIZMn18K5yMBVo/mpshV1AqsV1toBlQOhHX a38A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=CgKZnGsmuYcySSS6mdi9kfkhXxovkB3mLYF7Mkz/EEI=; b=qiINgCLUJTbaNq9ypxoxp3VWPHwCeARqEFco265hCqpv+SjuL5aBW6Ik0EoTARIAFr a2806WU6CCS71TyhpNLN5qelyPdXmpfjTWWV1we5CmcE+8DIodG/H2CNCu387uLIexK0 uDH3DO47E+N3wRW7N+i9ED6lnB9RFq95k+UE+VV6UBoyEhq30rmkHxEo08qundyhw3kj 4619D7XAz7L2RRiU0Wr8O7ab5KA1K1vP+/V8OoAsvTfX+x9Oej9d5QJqvmnmQUd05hkw lDg4f5AAErsPikiZ09eXi+MbkKXBFdoDPo+YKPqLPyuo04SBhRgGla487kmm+Uz5eL8l /vig== X-Gm-Message-State: AOAM531d79YAkzO9l4k/B2QmujztXG+MO/QtHD3SfE4Tk13KLojVa1Fz Yc3KKsPI7Ot/+dKvz+4L65gHs9FHfHo= X-Google-Smtp-Source: ABdhPJzgwKGptbG5wP2ZZEf1maQ3AFgy5Z7vKOIU0k/aZnXcBebj6JJLh8WZwQ4Mx/B7YIV5HmM4tQ== X-Received: by 2002:a19:c7ca:: with SMTP id x193mr18038149lff.273.1618991607267; Wed, 21 Apr 2021 00:53:27 -0700 (PDT) Original-Received: from lepton ([95.179.127.11]) by smtp.gmail.com with ESMTPSA id i20sm134211lfe.4.2021.04.21.00.53.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 00:53:26 -0700 (PDT) X-Google-Original-From: Vladimir Zhbanov Original-Received: from vzh by lepton with local (Exim 4.94) (envelope-from ) id 1lZ7fp-0007Lk-UX for guile-user@gnu.org; Wed, 21 Apr 2021 10:53:25 +0300 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=vzhbanov@gmail.com; helo=mail-lf1-x136.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17432 Archived-At: 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