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: Set operations on bool-vectors Date: Sat, 21 Sep 2013 10:35:47 +0200 Message-ID: <8761tubmho.fsf@igel.home> References: <523CD363.6020400@dancol.org> <87a9j6bp90.fsf@igel.home> <523D4D03.7010200@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1379752564 20866 80.91.229.3 (21 Sep 2013 08:36:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Sep 2013 08:36:04 +0000 (UTC) Cc: Emacs development discussions To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 21 10:36:06 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VNIfd-00009C-Fs for ged-emacs-devel@m.gmane.org; Sat, 21 Sep 2013 10:36:05 +0200 Original-Received: from localhost ([::1]:59026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNIfd-0003Yz-2s for ged-emacs-devel@m.gmane.org; Sat, 21 Sep 2013 04:36:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNIfU-0003Yh-LH for emacs-devel@gnu.org; Sat, 21 Sep 2013 04:36:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNIfP-0003Sc-0x for emacs-devel@gnu.org; Sat, 21 Sep 2013 04:35:56 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:50505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNIfO-0003SW-RC for emacs-devel@gnu.org; Sat, 21 Sep 2013 04:35:50 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3chlVs5Gbdz3hhZW; Sat, 21 Sep 2013 10:35:49 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3chlVs1Lxqzbblq; Sat, 21 Sep 2013 10:35:49 +0200 (CEST) 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.6.68]) (amavisd-new, port 10024) with ESMTP id hhwvvL-cvFCW; Sat, 21 Sep 2013 10:35:48 +0200 (CEST) X-Auth-Info: oy/oZiY6wDZxZmJ4TXBw7A9JKE/6on8yu2Dp6IyyJAE= Original-Received: from igel.home (ppp-88-217-116-101.dynamic.mnet-online.de [88.217.116.101]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 21 Sep 2013 10:35:48 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 98F8A2C06EA; Sat, 21 Sep 2013 10:35:47 +0200 (CEST) X-Yow: Here is my refrigerator full of FLANK STEAK...and over there is my UPHOLSTERED CANOE...I don't know WHY I OWN them!! In-Reply-To: <523D4D03.7010200@dancol.org> (Daniel Colascione's message of "Sat, 21 Sep 2013 00:38:43 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 212.18.0.10 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:163531 Archived-At: Daniel Colascione writes: > On 9/21/13 12:36 AM, Andreas Schwab wrote: >> Also, the return type should be EMACS_INT, >> not ptrdiff_t. > > Well, vector_nbytes works with ptrdiff_t, and the allocation code works > in EMACS_INT. I'm not sure the distinction actually matters in this case. ptrdiff_t may be smaller than EMACS_INT. 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."