Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29783 invoked from network); 5 Jun 2015 05:58:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2015 05:58:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.160.170 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.160.170 mail-yk0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:34170] helo=mail-yk0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/81-12998-F8A31755 for ; Fri, 05 Jun 2015 01:58:44 -0400 Received: by ykfl8 with SMTP id l8so21419279ykf.1 for ; Thu, 04 Jun 2015 22:58:36 -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=xUc9DXrGCXFJfUiyxF9dGgvqvbDL2P9+lcdKKzcltyc=; b=Vz6I5lrEW2b7HIOzfsFQ86xBZLM8mXzPPX8RGrXDIJacYYnlwiBlsXF7+qvOraXs2I GDlbLGs5VzxVNrx65eWV11QC2cghnpVKWWVSA3HktH171h5egK5ZCgJkxWvjKzqB69x7 J2BbQSxMwKijEqsYsw4NkpX04YneCNzW5rohs3D/x/oAvHPZLBJupsLdEHIMOgfU+Xv5 JYmbj6buRYYUVpcWCMb7kTu1TYHzxliV1StQDJYSX3XW6yAdvRj2nWd71ajCVnVR1NMk dqvdZGk/w2I7ZkcW1Rlc8zGvGhiUMx72uorLpl/NcmDroTZ8NrQtCKjOIwTpGOeOpCzX dSiQ== X-Gm-Message-State: ALoCoQlY3M+A8zwwocrhyrL+syoboNABfDTbTLz5btYA/67hUrGJ8d21UiRnU4gsWI+E25NGAAkg MIME-Version: 1.0 X-Received: by 10.236.45.2 with SMTP id o2mr1695800yhb.194.1433483916665; Thu, 04 Jun 2015 22:58:36 -0700 (PDT) Received: by 10.129.72.205 with HTTP; Thu, 4 Jun 2015 22:58:36 -0700 (PDT) X-Originating-IP: [86.149.77.111] In-Reply-To: References: Date: Fri, 5 Jun 2015 06:58:36 +0100 Message-ID: To: Levi Morrison Cc: internals Content-Type: multipart/alternative; boundary=089e0122f52ea4f9200517befb48 Subject: Re: [PHP-DEV] offsetof and XtOffsetOf From: pthreads@pthreads.org (Joe Watkins) --089e0122f52ea4f9200517befb48 Content-Type: text/plain; charset=UTF-8 Explained here: http://lxr.php.net/xref/PHP_TRUNK/main/php.h#415 On Fri, Jun 5, 2015 at 5:06 AM, Levi Morrison wrote: > The macro offsetof is required by the C89 standard to be defined in > stddef.h and remains in newer standards. The macro XtOffsetOf is > non-standard that is as far as I can tell a part of the X Toolkit > Intrinsics or Xlib. > > Does anyone know the reasons why we are using the non-standard macro > instead of the standard one? > --089e0122f52ea4f9200517befb48--