rfc:better_type_names_for_int64
Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision |
rfc:better_type_names_for_int64 [2014/08/22 10:48] – created nikic | rfc:better_type_names_for_int64 [2014/08/22 10:54] – nikic |
---|
* ''zend_int_t'' and ''zend_uint_t'' are the new 64bit-on-64bit-platforms types. | * ''zend_int_t'' and ''zend_uint_t'' are the new 64bit-on-64bit-platforms types. |
* ''IS_LONG'' is changed to ''IS_INT'', ''Z_LVAL'' to ''Z_IVAL'', etc. | * ''IS_LONG'' is changed to ''IS_INT'', ''Z_LVAL'' to ''Z_IVAL'', etc. |
| * ''Z_STRLEN'' is changed to ''Z_STRSIZE'' |
* ''zend_parse_parameters'' uses ''i'' and ''I'' instead of ''l'' and ''L''. | * ''zend_parse_parameters'' uses ''i'' and ''I'' instead of ''l'' and ''L''. |
| |
* Retain ''zend_int'' and ''zend_uint'' as 32bit types (same as 64bit RFC) | * Retain ''zend_int'' and ''zend_uint'' as 32bit types (same as 64bit RFC) |
* Use ''zend_long'' and ''zend_ulong'' as the 64bit-on-64bit-platforms type. As such this type stays the same as previously, with the tweak that it will be 64bit on LLP64 platforms as well. | * Use ''zend_long'' and ''zend_ulong'' as the 64bit-on-64bit-platforms type. As such this type stays the same as previously, with the tweak that it will be 64bit on LLP64 platforms as well. |
* Revert all renames of ''LONG'' to ''INT'' or ''L'' to ''I''. | * Revert all type/macro/zpp renames, like ''IS_INT'', ''Z_IVAL'', ''Z_STRSIZE'', ''i'', ''I'', etc. The original names will be used instead. |
| |
===== Patch ===== | ===== Patch ===== |
| |
As this is just search&replace renaming a patch will be provided once we have reached a descision on naming. | As this is just search&replace renaming a patch will be provided once we have reached a descision on naming. |
rfc/better_type_names_for_int64.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1