Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86491 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24550 invoked from network); 5 Jun 2015 04:06:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2015 04:06:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=levim@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.173 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.173 mail-ig0-f173.google.com Received: from [209.85.213.173] ([209.85.213.173:34476] helo=mail-ig0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/E0-12998-74021755 for ; Fri, 05 Jun 2015 00:06:32 -0400 Received: by igbhj9 with SMTP id hj9so6920132igb.1 for ; Thu, 04 Jun 2015 21:06:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:from:date:message-id:subject:to:content-type; bh=7pRaiM2731Q0suQdGUvRa6C7lgcHBInair1ub6br5fU=; b=NnKGwSgKbgPk4TL+uwjViihaCARXL4yjFnIyWaVLY6D+8yGP2J56+6Smu9NLsUZ4Z5 Xk0NKx3mNGQtekQ3ibCFa1Xr4ft75E6tPGVNiRGxcYqazZrWi+vqPxtiVS/SkVAmEFeJ ndVcVEiiKv+2WPhd1lE+oLeVOWHCfgxHqr5MhyC4+z+doRjO7JRcnoS8ZsQE50TEj9J5 XM57WKcY84jqRa7t9Jhw1r/Q0KSIdzWWxh/igRnedMirVQMcv4ZsoDwQBYIZqAxdqysn 4C+XAoLgc4sj33zRenzyUOJE44eVLrKR0e72ghLOVHpZE616csyPJvlj1hqUB8XDo7wL xtDw== X-Received: by 10.42.132.6 with SMTP id b6mr8171080ict.8.1433477188712; Thu, 04 Jun 2015 21:06:28 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 05 Jun 2015 04:06:18 +0000 Message-ID: To: internals Content-Type: multipart/alternative; boundary=90e6ba3fcc79a07f240517bd6a24 Subject: offsetof and XtOffsetOf From: levim@php.net (Levi Morrison) --90e6ba3fcc79a07f240517bd6a24 Content-Type: text/plain; charset=UTF-8 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? --90e6ba3fcc79a07f240517bd6a24--