Re: offsetof and XtOffsetOf

From: Date: Fri, 05 Jun 2015 05:58:36 +0000
Subject: Re: offsetof and XtOffsetOf
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Explained here: http://lxr.php.net/xref/PHP_TRUNK/main/php.h#415

On Fri, Jun 5, 2015 at 5:06 AM, Levi Morrison <[email protected]> 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?
>


Thread (6 messages)

« previous php.internals (#86492) next »