com php-src: adedd note on portable numeric macros: UPGRADING.INTERNALS

From: Date: Fri, 22 Aug 2014 11:48:20 +0000
Subject: com php-src: adedd note on portable numeric macros: UPGRADING.INTERNALS
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80823@lists.php.net to get a copy of this message
Commit: 4ff697b6b1f56f1865b97500fc8b651a92b435ae Author: Anatol Belski <ab@php.net> Fri, 22 Aug 2014 13:48:20 +0200 Parents: 4c56e68b7f3506cb347ebe82b9af864694da280a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4ff697b6b1f56f1865b97500fc8b651a92b435ae Log: adedd note on portable numeric macros Changed paths: M UPGRADING.INTERNALS Diff: diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index d446dce..e46581a 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -12,6 +12,7 @@ UPGRADE NOTES - PHP X.Y g. sprintf() formats h. HashTable API i. New portable macros for large file support + j. New portable macros for integers 2. Build system changes a. Unix build system changes @@ -82,13 +83,27 @@ UPGRADE NOTES - PHP X.Y i. New portable macros for large file support - Function Alias Comment + Function(s) Alias Comment stat, _stat64 zend_stat for use with zend_stat_t fstat, _fstat64 zend_fstat for use with zend_stat_t lseek, _lseeki64 zend_lseek for use with zend_off_t ftell, _ftelli64 zend_ftell for use with zend_off_t fseek, _fseeki64 zend_fseek for use with zend_off_t + j. New portable macros for integers + + Function(s) Alias Comment + snprintf with "%ld" or "%lld", _ltoa_s, _i64toa_s ZEND_ITOA for use with zend_int_t + atol, atoll, _atoi64 ZEND_ATOI for use with zend_int_t + strtol, strtoll, _strtoi64 ZEND_STRTOI for use with zend_int_t + strtoul, strtoull, _strtoui64 ZEND_STRTOUI for use with zend_int_t + abs, llabs, _abs64 ZEND_ABS for use with zend_int_t + - ZEND_INT_MAX Aliased with PHP_INT_MAX in php.h, replaces LONG_MAX where appropriate + - ZEND_INT_MIN Aliased with PHP_INT_MIN in php.h, replaces LONG_MIN where appropriate + - ZEND_UINT_MAX ULONG_MAX + - SIZEOF_ZEND_INT Replaces SIZEOF_ZEND_LONG where appropriate + - ZEND_SIZE_MAX Max value of zend_size_t + ======================== 2. Build system changes ========================

« previous php.cvs (#80823) next »