Re: [PHP-DEV] [RFC] Better type names for int64 RFC

[email protected] (Pierre Joye)
Newsgroups php.internals
Message-ID <CAEZPtU5CUEDJ3G7TT_2D+hfuU-vwRSeUr2oqSoxMFJN5D5mc0Q@mail.gmail.com>
On Aug 23, 2014 4:34 PM, "Andrea Faulds" <[email protected]> wrote:
>
>
> On 23 Aug 2014, at 10:43, Dmitry Stogov <[email protected]> wrote:
>
> > I think it's ok to keep zend_off_t and zend_size_t as is.
>
> Could someone enlighten me as to why we need zend_size_t? Isn’t that just
a typedef for size_t? It’s not like it’ll vary on different platforms,
doing so would defeat the purpose of using size_t in the first place.

Was not desired back then as it "changed too much". So it simply matched
what already exists for years.

To me we should just use size_t and uint32_t for zend_uint (solving the
zend_uint vs zend_into_t).

Cheers,
Pierre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.