From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: A question about struct coding_system Date: Mon, 21 Nov 2011 21:32:13 +0100 Message-ID: References: <4ECA78BD.4040904@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321907556 32147 80.91.229.12 (21 Nov 2011 20:32:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 20:32:36 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 21 21:32:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSaXX-0004S1-Ia for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 21:32:31 +0100 Original-Received: from localhost ([::1]:38595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSaXW-0003Rn-Ja for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 15:32:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:32880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSaXQ-0003RV-QK for emacs-devel@gnu.org; Mon, 21 Nov 2011 15:32:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSaXM-0004ZV-8T for emacs-devel@gnu.org; Mon, 21 Nov 2011 15:32:24 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:36302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSaXL-0004Z7-Tt for emacs-devel@gnu.org; Mon, 21 Nov 2011 15:32:20 -0500 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id EFFC91C1D9EE; Mon, 21 Nov 2011 21:32:15 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 960CC1C00135; Mon, 21 Nov 2011 21:32:15 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id uMr2GzMl9l1Y; Mon, 21 Nov 2011 21:32:14 +0100 (CET) Original-Received: from igel.home (ppp-93-104-134-85.dynamic.mnet-online.de [93.104.134.85]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 21 Nov 2011 21:32:14 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 9F73ECA29C; Mon, 21 Nov 2011 21:32:13 +0100 (CET) X-Yow: Leona, I want to CONFESS things to you.. I want to WRAP you in a SCARLET ROBE trimmed with POLYVINYL CHLORIDE.. I want to EMPTY your ASHTRAYS... In-Reply-To: (Stefan Monnier's message of "Mon, 21 Nov 2011 15:22:34 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146119 Archived-At: Stefan Monnier writes: >> It's generally the duty of the caller to protect the object. > > No, Emacs's C code generally puts the burden on the callee rather than > the caller (with a few exceptions like Ffuncall). I'm talking only about the caller of (en|de)code_coding_*. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."