[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DEFU* macro name for a extern DEFUN: DEFUE? DEFUNEX?
From: |
Stefan Monnier |
Subject: |
Re: DEFU* macro name for a extern DEFUN: DEFUE? DEFUNEX? |
Date: |
Tue, 12 Apr 2011 00:34:50 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> I've been looking into trimming down the sets of symbols exported and
>> imported by each C source file in Emacs, down to the list of symbols
>> that are actually needed. This should make it easier to read the
>> code, and to do better static analysis, and shrink Emacs a bit by
>> removing unused cruft.
> I don't think this has been a problem for us in practice; there isn't
> sufficient justification to replace DEFUNS throughout the tree.
Agreed. I could imagine distinguishing between "function only called
from Lisp" and "function both exported to Lisp and called from C", but
the static/non-static distinction would rarely if ever be of any help
for DEFUNs since those are always "called from some other file" anyway
(typically a Lisp file).
Stefan
- Re: DEFU* macro name for a extern DEFUN: DEFUE? DEFUNEX?, (continued)