tony2001                Fri Jul  6 12:11:20 2007 UTC

  Modified files:              
    /php-src/ext/reflection     php_reflection.c 
  Log:
  fix folding
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.275&r2=1.276&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.275 
php-src/ext/reflection/php_reflection.c:1.276
--- php-src/ext/reflection/php_reflection.c:1.275       Mon May 28 10:34:37 2007
+++ php-src/ext/reflection/php_reflection.c     Fri Jul  6 12:11:20 2007
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_reflection.c,v 1.275 2007/05/28 10:34:37 bjori Exp $ */
+/* $Id: php_reflection.c,v 1.276 2007/07/06 12:11:20 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -196,7 +196,7 @@
 
 static zend_object_handlers reflection_object_handlers;
 
-static void _default_get_entry(zval *object, char *name, int name_len, zval 
*return_value TSRMLS_DC)
+static void _default_get_entry(zval *object, char *name, int name_len, zval 
*return_value TSRMLS_DC) /* {{{ */
 {
        zval **value;
 
@@ -208,16 +208,18 @@
        zval_copy_ctor(return_value);
        INIT_PZVAL(return_value);
 }
+/* }}} */
 
-static void reflection_register_implement(zend_class_entry *class_entry, 
zend_class_entry *interface_entry TSRMLS_DC)
+static void reflection_register_implement(zend_class_entry *class_entry, 
zend_class_entry *interface_entry TSRMLS_DC) /* {{{ */
 {
        zend_uint num_interfaces = ++class_entry->num_interfaces;
 
        class_entry->interfaces = (zend_class_entry **) 
realloc(class_entry->interfaces, sizeof(zend_class_entry *) * num_interfaces);
        class_entry->interfaces[num_interfaces - 1] = interface_entry;
 }
+/* }}} */
 
-static void reflection_free_objects_storage(void *object TSRMLS_DC)
+static void reflection_free_objects_storage(void *object TSRMLS_DC) /* {{{ */
 {
        reflection_object *intern = (reflection_object *) object;
 
@@ -230,8 +232,9 @@
        }
        zend_objects_free_object_storage(object TSRMLS_CC);
 }
+/* }}} */
 
-static void reflection_objects_clone(void *object, void **object_clone 
TSRMLS_DC)
+static void reflection_objects_clone(void *object, void **object_clone 
TSRMLS_DC) /* {{{ */
 {
        reflection_object *intern = (reflection_object *) object;
        reflection_object **intern_clone = (reflection_object **) object_clone;
@@ -245,8 +248,9 @@
                zval_add_ref(&intern->obj);
        }
 }
+/* }}} */
 
-static zend_object_value reflection_objects_new(zend_class_entry *class_type 
TSRMLS_DC)
+static zend_object_value reflection_objects_new(zend_class_entry *class_type 
TSRMLS_DC) /* {{{ */
 {
        zval tmp;
        zend_object_value retval;
@@ -263,8 +267,9 @@
        retval.handlers = &reflection_object_handlers;
        return retval;
 }
+/* }}} */
 
-static zval * reflection_instantiate(zend_class_entry *pce, zval *object 
TSRMLS_DC)
+static zval * reflection_instantiate(zend_class_entry *pce, zval *object 
TSRMLS_DC) /* {{{ */
 {
        if (!object) {
                ALLOC_ZVAL(object);
@@ -275,6 +280,7 @@
        object->is_ref = 1;
        return object;
 }
+/* }}} */
 
 static void _const_string(string *str, zstr name, zval *value, char *indent 
TSRMLS_DC);
 static void _function_string(string *str, zend_function *fptr, 
zend_class_entry *scope, char *indent TSRMLS_DC);
@@ -836,7 +842,7 @@
 }
 /* }}} */
 
-static int _extension_ini_string(zend_ini_entry *ini_entry, int num_args, 
va_list args, zend_hash_key *hash_key)
+static int _extension_ini_string(zend_ini_entry *ini_entry, int num_args, 
va_list args, zend_hash_key *hash_key) /* {{{ */
 {
        string *str = va_arg(args, string *);
        char *indent = va_arg(args, char *);
@@ -870,8 +876,9 @@
        }
        return ZEND_HASH_APPLY_KEEP;
 }
+/* }}} */
 
-static int _extension_class_string(zend_class_entry **pce, int num_args, 
va_list args, zend_hash_key *hash_key)
+static int _extension_class_string(zend_class_entry **pce, int num_args, 
va_list args, zend_hash_key *hash_key) /* {{{ */
 {
        string *str = va_arg(args, string *);
        char *indent = va_arg(args, char *);
@@ -886,8 +893,9 @@
        }
        return ZEND_HASH_APPLY_KEEP;
 }
+/* }}} */
 
-static int _extension_const_string(zend_constant *constant, int num_args, 
va_list args, zend_hash_key *hash_key)
+static int _extension_const_string(zend_constant *constant, int num_args, 
va_list args, zend_hash_key *hash_key) /* {{{ */
 {
        string *str = va_arg(args, string *);
        char *indent = va_arg(args, char *);
@@ -901,6 +909,7 @@
        }
        return ZEND_HASH_APPLY_KEEP;
 }
+/* }}} */
 
 /* {{{ _extension_string */
 static void _extension_string(string *str, zend_module_entry *module, char 
*indent TSRMLS_DC)
@@ -3944,7 +3953,7 @@
 }
 /* }}} */
 
-static void _property_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask)
+static void _property_check_flag(INTERNAL_FUNCTION_PARAMETERS, int mask) /* 
{{{ */
 {
        reflection_object *intern;
        property_reference *ref;
@@ -3953,6 +3962,7 @@
        GET_REFLECTION_OBJECT_PTR(ref);
        RETURN_BOOL(ref->prop.flags & mask);
 }
+/* }}} */
 
 /* {{{ proto public bool ReflectionProperty::isPublic() U
    Returns whether this property is public */
@@ -4322,7 +4332,7 @@
 }
 /* }}} */
 
-static int _addconstant(zend_constant *constant, int num_args, va_list args, 
zend_hash_key *hash_key)
+static int _addconstant(zend_constant *constant, int num_args, va_list args, 
zend_hash_key *hash_key) /* {{{ */
 {
        zval *const_val;
        zval *retval = va_arg(args, zval*);
@@ -4339,6 +4349,7 @@
        }
        return 0;
 }
+/* }}} */
 
 /* {{{ proto public array ReflectionExtension::getConstants() U
    Returns an associative array containing this extension's constants and 
their values */
@@ -4987,7 +4998,7 @@
        php_info_print_table_start();
        php_info_print_table_header(2, "Reflection", "enabled");
 
-       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.275 
2007/05/28 10:34:37 bjori Exp $");
+       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.276 
2007/07/06 12:11:20 tony2001 Exp $");
 
        php_info_print_table_end();
 } /* }}} */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to