Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76853 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12885 invoked from network); 25 Aug 2014 07:23:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2014 07:23:03 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.177 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.177 mail-vc0-f177.google.com Received: from [209.85.220.177] ([209.85.220.177:57350] helo=mail-vc0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/00-11049-454EAF35 for ; Mon, 25 Aug 2014 03:23:01 -0400 Received: by mail-vc0-f177.google.com with SMTP id hy4so14438412vcb.22 for ; Mon, 25 Aug 2014 00:22:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tt4xoJPhw0DWTHcV3tUMCZHJeOt5iiVmPBbYUF6QNDU=; b=JTGLWQoFyU+GyJHMexnlzOgHg4IWoMDdBcuQsFQcfLZ+yJ3sn8ZT6DUmLAz8OOx4kj o10LMnF2vc91H/LllnvSAlwU3aP3M1CLf1PXSvKb3+Vb63Skc3D0TZMDQqPoiMJXWho9 dBRC27gb8gE36W9R3iSOVGJVhG460qdXh4TBHmioMegF1fKti6CJMOikgV104AoaOFjU iqQVGkZVXQmNl2qbsrY32K6idVO7n7veAL1K07kkqd3b7FBriDH1SXbOcFJ97SKLo3v4 +UbQ1hJq7qTNRAecNxe5+vJ3XfNY9ZRZTUtzlN22LiKR7beEXld2L5CN5QG30OqMDgVG khTA== X-Gm-Message-State: ALoCoQnLg6VfOuL2QNhNy/8jeQepFY3HtGkZrm4E2akdovevAXDPAvCsuIruF2elQlemmhalWFUw+ITUWGHzNgwO2+xypDm2L3nT/YRbQ76K2COoz5ranJeXVnOn9jiIxgyy06xfsxJe MIME-Version: 1.0 X-Received: by 10.220.247.3 with SMTP id ma3mr5192298vcb.29.1408951377361; Mon, 25 Aug 2014 00:22:57 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Mon, 25 Aug 2014 00:22:57 -0700 (PDT) In-Reply-To: References: <437C0D23-0519-4EA1-BBEB-A74C7C70A10E@rouvenwessling.de> Date: Mon, 25 Aug 2014 11:22:57 +0400 Message-ID: To: Pierre Joye Cc: =?UTF-8?Q?Rouven_We=C3=9Fling?= , PHP internals Content-Type: multipart/alternative; boundary=089e013c6eca5a955a05016f0eb6 Subject: Re: [PHP-DEV] Naming issues, solutions From: dmitry@zend.com (Dmitry Stogov) --089e013c6eca5a955a05016f0eb6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Pierre, I'm glad, you agree to rename IS_INT back to IS_LONG. zend_long and size_t usage looks fine. I see no problems changing zend_string related API and related macros introduced in NG. They are new for everyone. I hope, the changes won't make API less clear or useful (so it would be great to review them). I don't see a big reason to rename "zend_uint" into "uint32_t", but it's just my own opinion. I would prefer keep it as is, or at worse case rename into "zend_uint32" or "uint32". Anyway, I'll agree with majority. How are we going to proceed? Do you like voting in https://wiki.php.net/rfc/better_type_names_for_int64 or you may just revert part of the int64 patch related to IS_LONG -> IS_INT renaming? Who is going to implement the rest? When? Do we need RFC? May be it should be a general RFC about internal PHP APIs cleanup? I know, there are a lot of other inconsistencies... Thanks. Dmitry. On Sun, Aug 24, 2014 at 5:21 PM, Pierre Joye wrote: > On Sun, Aug 24, 2014 at 3:20 PM, Rouven We=C3=9Fling > wrote: > > > > > >> Am 24.08.2014 um 14:30 schrieb Pierre Joye : > >> > >> zend_uint > int32_t > > > > Is that a typo? If it's not, why are you changing it to signed? > > typo. It should be: > > zend_uint > uint32_t > > Thanks :) > > > Best regards > > Rouven > > > > -- > Pierre > > @pierrejoye | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e013c6eca5a955a05016f0eb6--