cvs: Zend / zend_llist.h
| From: | Andrei Zmievski | Date: | Thu, 14 Nov 2002 20:31:27 +0000 |
| Subject: | cvs: Zend / zend_llist.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-605@lists.php.net to get a copy of this message | ||
andrei Thu Nov 14 15:31:27 2002 EDT
Modified files:
/Zend zend_llist.h
Log:
I believe this prototype was incorrect. The sorting function gets passed
zend_llist_element ** in reality.
Index: Zend/zend_llist.h
diff -u Zend/zend_llist.h:1.25 Zend/zend_llist.h:1.26
--- Zend/zend_llist.h:1.25 Sun Jan 6 10:21:09 2002
+++ Zend/zend_llist.h Thu Nov 14 15:31:27 2002
@@ -30,7 +30,7 @@
} zend_llist_element;
typedef void (*llist_dtor_func_t)(void *);
-typedef int (*llist_compare_func_t)(const zend_llist_element *, const zend_llist_element *
TSRMLS_DC);
+typedef int (*llist_compare_func_t)(const zend_llist_element **, const zend_llist_element **
TSRMLS_DC);
typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args TSRMLS_DC);
typedef void (*llist_apply_with_arg_func_t)(void *data, void *arg TSRMLS_DC);
typedef void (*llist_apply_func_t)(void * TSRMLS_DC);