diff options
author | Sara Golemon <pollita@php.net> | 2010-05-21 23:29:34 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2010-05-21 23:29:34 +0000 |
commit | a0269a6a7271f7bc3d3355710f19649716c67d14 (patch) | |
tree | 7ea3267c3eecd1038471b7dfe47148d53db04c77 /ext/json/php_json.h | |
parent | 6eb4218433e5b2af2974648b31ca434b1aa4e314 (diff) | |
download | php-git-a0269a6a7271f7bc3d3355710f19649716c67d14.tar.gz |
Ooops, return values...
Diffstat (limited to 'ext/json/php_json.h')
-rw-r--r-- | ext/json/php_json.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/php_json.h b/ext/json/php_json.h index 7b67c10d2f..fd5287c0e5 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -68,7 +68,7 @@ extern zend_class_entry *php_json_serializable_ce; #define PHP_JSON_OBJECT_AS_ARRAY (1<<0) #define PHP_JSON_BIGINT_AS_STRING (1<<1) -static inline php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) +static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC) { php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_CC); } |