From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: New convenience for record_unwind_protect Date: Sun, 05 Jan 2003 22:26:04 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1041823910 25235 80.91.224.249 (6 Jan 2003 03:31:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 6 Jan 2003 03:31:50 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18VNzQ-0006Yq-00 for ; Mon, 06 Jan 2003 04:31:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18VO3J-0004GG-00 for ; Mon, 06 Jan 2003 04:35:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VNvt-0004iX-0C for emacs-devel@quimby.gnus.org; Sun, 05 Jan 2003 22:28:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18VNv9-0004Vx-00 for emacs-devel@gnu.org; Sun, 05 Jan 2003 22:27:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18VNuP-0003Zo-00 for emacs-devel@gnu.org; Sun, 05 Jan 2003 22:26:38 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VNtt-0003N6-00 for emacs-devel@gnu.org; Sun, 05 Jan 2003 22:26:05 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18VNts-00005j-00; Sun, 05 Jan 2003 22:26:04 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10522 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10522 I just added a function make_save_value which makes it much cleaner and easier to pass a C pointer or int value to an unwind handler. If you come across code that takes a value apart into multiple ints in order to pass it to an unwind handler, please feel free to change it to use make_save_value.