Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 44304 invoked from network); 12 Mar 2010 11:22:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Mar 2010 11:22:45 -0000 Received: (qmail 96491 invoked by uid 500); 12 Mar 2010 11:22:09 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 96267 invoked by uid 500); 12 Mar 2010 11:22:09 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 96260 invoked by uid 99); 12 Mar 2010 11:22:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 11:22:08 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gstein@gmail.com designates 209.85.222.186 as permitted sender) Received: from [209.85.222.186] (HELO mail-pz0-f186.google.com) (209.85.222.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 11:22:07 +0000 Received: by pzk16 with SMTP id 16so67450pzk.22 for ; Fri, 12 Mar 2010 03:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=grqFZ0Ugz9BOyP5ejiYviYrcwzAkChftEemr5aEj3AY=; b=RDsV9AxRLzUg2+P6ldk4n/jt95msJIgWGjuhGERZfala1k3mTuNNiAReVENj8DDWfQ dzylIKRQO6j9pmgXl4dssymb7S+Ccv5T+HR9OOT8uXKAsNLiWF/j3OdfFO04V4hmGLfJ VszbsNpROEKZFHfA0fywTTCh4wFzOkswUW6Js= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=P+iXsv3Eu5uWItY4GnWLESaQtPxAtmW/8JzU5JCOMjjWuntMPyMX8E2y0XF6yr1EWC rgEAmEX66knsIu24OFQp5EfIVV3Nu9nVytqHSzBrbtYpM+Xf64PhXKZ/j7cdThQHj1OY euM19IN8j977ijJ8n/4pYVYaFh1TcQzK+1vrM= MIME-Version: 1.0 Received: by 10.140.55.17 with SMTP id d17mr2865061rva.10.1268392907514; Fri, 12 Mar 2010 03:21:47 -0800 (PST) In-Reply-To: <4B96C0C7.9000209@rowe-clan.net> References: <4B96A8EF.8030401@rowe-clan.net> <4B96C0C7.9000209@rowe-clan.net> Date: Fri, 12 Mar 2010 06:21:47 -0500 Message-ID: <6cca3db31003120321g524a5c4bo18aca952f6f0967b@mail.gmail.com> Subject: Re: [PATCH] apr_hash_this_{key,klen,val} From: Greg Stein To: "William A. Rowe Jr." Cc: dev@apr.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Mar 9, 2010 at 16:42, William A. Rowe Jr. wro= te: > On 3/9/2010 3:37 PM, Hyrum K. Wright wrote: >> >> I'm also planning a followup which const-ifies the apr_hash_index_t para= ms to these functions, as well as apr_hash_this(). =A0Thoughts? > > Note const'ness will only be alterable with apr 2.0 forwards. It is *totally* fine to add a 'const' to a parameter that was not there before. That does not change the ABI whatsoever, and it will not break the API for callers. It merely gives them more information at compile time. Cheers, -g