cvs: pecl /adt php_adt.c php_adt.h
| From: | Steph Fox | Date: | Mon, 31 Mar 2008 09:23:25 +0000 |
| Subject: | cvs: pecl /adt php_adt.c php_adt.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10108@lists.php.net to get a copy of this message | ||
sfox Mon Mar 31 09:23:25 2008 UTC
Modified files:
/pecl/adt php_adt.c php_adt.h
Log:
- Bring the majority of PECL extensions into line with macro/x.x.x versioning.
- Please use the -dev tag during the development cycle so that snapshots can easily be
distinguished from releases.
http://cvs.php.net/viewvc.cgi/pecl/adt/php_adt.c?r1=1.60&r2=1.61&diff_format=u
Index: pecl/adt/php_adt.c
diff -u pecl/adt/php_adt.c:1.60 pecl/adt/php_adt.c:1.61
--- pecl/adt/php_adt.c:1.60 Tue May 22 13:13:11 2007
+++ pecl/adt/php_adt.c Mon Mar 31 09:23:25 2008
@@ -584,7 +584,7 @@
NULL,
NULL,
PHP_MINFO(adt),
- "1.0",
+ PHP_ADT_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
@@ -634,6 +634,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "ADT support", "enabled");
+ php_info_print_table_row(2, "Version", PHP_ADT_VERSION);
php_info_print_table_row(2, "Binary Heap", "present");
php_info_print_table_row(2, "Binary Search Tree", "present");
php_info_print_table_row(2, "Binary Tree", "present");
http://cvs.php.net/viewvc.cgi/pecl/adt/php_adt.h?r1=1.21&r2=1.22&diff_format=u
Index: pecl/adt/php_adt.h
diff -u pecl/adt/php_adt.h:1.21 pecl/adt/php_adt.h:1.22
--- pecl/adt/php_adt.h:1.21 Sat Feb 14 19:29:54 2004
+++ pecl/adt/php_adt.h Mon Mar 31 09:23:25 2008
@@ -23,6 +23,8 @@
#include "php.h"
#include <stdarg.h>
+#define PHP_ADT_VERSION "0.1.0-dev"
+
typedef void *(*adt_clone)(void *);
typedef int (*adt_compare)(void *, void *, void * TSRMLS_DC);
typedef void (*adt_callback)(void *, void * TSRMLS_DC);