GNU bug report logs - #10974
guile-user@gnu.org

Previous Next

Package: guile;

Reported by: Alexei Matveev <alexei.matveev <at> gmail.com>

Date: Fri, 9 Mar 2012 07:51:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #20 received at 10974 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 10974 <at> debbugs.gnu.org, Alexei Matveev <alexei.matveev <at> gmail.com>
Subject: Re: bug#10974: guile-user <at> gnu.org
Date: Mon, 02 Jul 2012 23:45:43 +0200
On Mon 02 Jul 2012 11:38, ludo <at> gnu.org (Ludovic Courtès) writes:

> 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.

Interesting, I hadn't thought of that.

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

Would this be "fixed" if we changed these to be implemented as inline
functions?

Dunno, just thinking out loud.

Andy
-- 
http://wingolog.org/




This bug report was last modified 13 years and 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.