[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coccinelle patch suggestion
From: |
Dan Nicolaescu |
Subject: |
coccinelle patch suggestion |
Date: |
Wed, 27 Jun 2012 13:12:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Many lisp functions are declared in header files using the EXFUN macro,
like this:
EXFUN (Finteractive_form, 1);
this might have been good when wanting to support both pre-standard C
and standard C, but we don't support the former anymore.
And EXFUN just adds an unneeded level of obfuscation that doesn't help
code readability.
It seems that with coccinelle it should be easy to create a patch that
replaces all EXFUN usages with the correct declaration, and then EXFUN
can be removed.
- coccinelle patch suggestion,
Dan Nicolaescu <=
Re: coccinelle patch suggestion, Stefan Monnier, 2012/06/27