emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redundant type checking in window.c and w32menu.c


From: Jason Rumney
Subject: Re: Redundant type checking in window.c and w32menu.c
Date: Wed, 20 Jun 2007 21:46:31 +0100
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)

dmantipov wrote:
> Jason Rumney wrote
>> Dmitry Antipov wrote:
>>
>>     
>>> +#define Fcar(c) _FCAR (c)
>>> +#define Fcar_safe(c) _FCAR_SAFE (c)
>>> +#define Fcdr(c) _FCDR (c)
>>> +#define Fcdr_safe(c) _FCDR_SAFE (c)
>>>       
>> How does lisp code then call these C macros?
>>     
>
> It will call original functions which are preserved in data.c. Lisp code 
> calls them via pointers, so we definitely need to preserve an addressable 
> versions.
>   


Is this optimisation really worth the confusion of having two versions
of these functions in the code?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]