From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "dmantipov" Newsgroups: gmane.emacs.devel Subject: Re: Redundant type checking in window.c and w32menu.c Date: Wed, 20 Jun 2007 21:55:46 +0400 (MSD) Message-ID: <46796A22.000002.16656@pantene.yandex.ru> References: <4677EBCA.7020405@yandex.ru> <467935CA.9020808@yandex.ru> <467945AF.6010305@gnu.org> Reply-To: dmantipov@yandex.ru NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182362456 29837 80.91.229.12 (20 Jun 2007 18:00:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2007 18:00:56 +0000 (UTC) Cc: raeburn@gnu.org, dmantipov@yandex.ru, emacs-devel@gnu.org To: jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 20 20:00:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I14U9-0005ZP-8M for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 20:00:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I14U8-0002Nd-Eg for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 14:00:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I14U3-0002NO-W4 for emacs-devel@gnu.org; Wed, 20 Jun 2007 14:00:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I14U3-0002NC-2d for emacs-devel@gnu.org; Wed, 20 Jun 2007 14:00:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I14U2-0002N9-S2 for emacs-devel@gnu.org; Wed, 20 Jun 2007 14:00:46 -0400 Original-Received: from pantene.mail.yandex.net ([213.180.223.92]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I14U0-0004PT-H0; Wed, 20 Jun 2007 14:00:44 -0400 Original-Received: from YAMAIL (pantene.yandex.ru) by mail.yandex.ru id ; Wed, 20 Jun 2007 21:55:58 +0400 Original-Received: from [213.148.21.55] ([213.148.21.55]) by mail.yandex.ru with HTTP; Wed, 20 Jun 2007 21:55:46 +0400 (MSD) X-Mailer: Yamail [ http://yandex.ru ] X-MsgDayCount: 1 X-BornDate: 1119297600 In-Reply-To: <467945AF.6010305@gnu.org> X-Source-Ip: 213.148.21.55 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73463 Archived-At: 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. Dmitry