[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: refactoring DEFUN
From: |
Andy Moreton |
Subject: |
Re: refactoring DEFUN |
Date: |
Mon, 25 Mar 2013 12:56:26 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
On Mon 25 Mar 2013, Eli Zaretskii wrote:
>> Date: Mon, 25 Mar 2013 15:56:29 +0400
>> From: Dmitry Antipov <address@hidden>
>>
>> Although C preprocessor can't transform the text too much, it's
>> still possible to use concatenation to avoid silly typing like:
>>
>> DEFUN ("foo", Ffoo, Sfoo, ...)
>>
>> and use:
>>
>> DEFUN ("foo", foo, ...)
>>
>> instead.
>
> You can get "foo" from foo using the # stringizing operator.
True, but you cannot get "foo-bar" from foo_bar that way :-)
AndyM
- [RFC] refactoring DEFUN, Dmitry Antipov, 2013/03/25
- Re: [RFC] refactoring DEFUN, Eli Zaretskii, 2013/03/25
- Re: refactoring DEFUN, Andy Moreton, 2013/03/25
- Re: [RFC] refactoring DEFUN, Daniel Colascione, 2013/03/25
- Re: [RFC] refactoring DEFUN, Alan Mackenzie, 2013/03/25
- Re: [RFC] refactoring DEFUN, Stefan Monnier, 2013/03/25