com php-src: Make it inline: ext/standard/array.c
| From: | Xinchen Hui | Date: | Sat, 20 Dec 2014 10:17:56 +0000 |
| Subject: | com php-src: Make it inline: ext/standard/array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83815@lists.php.net to get a copy of this message | ||
Commit: abb98080c7fd6a23372d1641483dabeab58bf471
Author: Xinchen Hui <laruence@php.net> Sat, 20 Dec 2014 05:17:56 -0500
Parents: c94f62d0d98f4373bbf8f68c234b16d52c5f3273
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=abb98080c7fd6a23372d1641483dabeab58bf471
Log:
Make it inline
Changed paths:
M ext/standard/array.c
Diff:
diff --git a/ext/standard/array.c b/ext/standard/array.c
index b985b88..d808c41 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -1224,7 +1224,7 @@ PHP_FUNCTION(array_walk_recursive)
* 0 = return boolean
* 1 = return key
*/
-static void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior) /* {{{ */
+static zend_always_inline void php_search_array(INTERNAL_FUNCTION_PARAMETERS, int behavior) /* {{{
*/
{
zval *value, /* value to check for */
*array, /* array to check in */