]> granicus.if.org Git - php/commitdiff
Rebalance the folds in json.c.
authorAdam Harvey <aharvey@php.net>
Thu, 16 Sep 2010 14:15:19 +0000 (14:15 +0000)
committerAdam Harvey <aharvey@php.net>
Thu, 16 Sep 2010 14:15:19 +0000 (14:15 +0000)
ext/json/json.c

index 3e893f0e8d653ecfc9ec3431051ffe4b9cce9bfa..1836c7f7e2a27d651b080027f26000f94c413f66 100644 (file)
@@ -77,6 +77,7 @@ static const zend_function_entry json_serializable_interface[] = {
        PHP_ABSTRACT_ME(JsonSerializable, jsonSerialize, json_serialize_arginfo)
        { NULL, NULL, NULL }
 };
+/* }}} */
 
 /* {{{ MINIT */
 static PHP_MINIT_FUNCTION(json)
@@ -457,7 +458,7 @@ static void json_escape_string(smart_str *buf, char *s, int len, int options TSR
 /* }}} */
 
 
-static void json_encode_serializable_object(smart_str *buf, zval *val, int options TSRMLS_DC)
+static void json_encode_serializable_object(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{{ */
 {
        zend_class_entry *ce = Z_OBJCE_P(val);
        zval *retval = NULL, fname;
@@ -488,6 +489,7 @@ static void json_encode_serializable_object(smart_str *buf, zval *val, int optio
 
        zval_ptr_dtor(&retval);
 }
+/* }}} */
 
 PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{{ */
 {