unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alexei Matveev <alexei.matveev@gmail.com>
Cc: 10974@debbugs.gnu.org
Subject: bug#10974: guile-user@gnu.org
Date: Mon, 02 Jul 2012 11:38:27 +0200	[thread overview]
Message-ID: <87wr2mv6y4.fsf@gnu.org> (raw)
In-Reply-To: <CACMrLAfLDhyRp02HkQb1Zup-WjNPbanf_5WZXBrWc1SFhP=v6g@mail.gmail.com> (Alexei Matveev's message of "Thu, 8 Mar 2012 12:36:37 +0100")

Hi,

Sorry for the late reply.

Alexei Matveev <alexei.matveev@gmail.com> skribis:

> For use from a Fortran program I am collecting API fixes for libguile.so
> as wrapper functions for what is provided to C-programs as macros.
> I noted that some of the macros are function-macros some are symbol
> macros. An example of the latter is
>
>   #define scm_to_int scm_to_int23

The macros in numbers.h that are “symbol macros”, such as
‘scm_from_int’, allow users to write code like:

  &scm_from_int

This wouldn’t be possible if these were function macros.

Thus, I think things will have to remain this way.

What do you think?

Thanks,
Ludo’.





  reply	other threads:[~2012-07-02  9:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 11:36 bug#10974: guile-user@gnu.org Alexei Matveev
2012-07-02  9:38 ` Ludovic Courtès [this message]
2012-07-02 10:15   ` Alexei Matveev
     [not found]   ` <CACMrLAeaLn4Bw13TitmeAO8sympbsvFRkM+skFrMTvSe0iYf2w@mail.gmail.com>
2012-07-02 19:17     ` Ludovic Courtès
2012-07-02 21:45   ` Andy Wingo
2012-07-02 22:35     ` Ludovic Courtès
2012-07-02 23:17       ` Andy Wingo
2012-07-03  8:09         ` Ludovic Courtès

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=87wr2mv6y4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=10974@debbugs.gnu.org \
    --cc=alexei.matveev@gmail.com \
    /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).