cvs: php-src(PHP_5_1) /ext/xsl php_xsl.c
| From: | Pierre-Alain Joye | Date: | Mon, 26 Dec 2005 00:56:41 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/xsl php_xsl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36233@lists.php.net to get a copy of this message | ||
pajoye Mon Dec 26 00:56:41 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/xsl php_xsl.c
Log:
- MFH: #35805 add LIBXSLT_VERSION, LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION
and LIBEXSLT_DOTTED_VERSION
http://cvs.php.net/viewcvs.cgi/php-src/ext/xsl/php_xsl.c?r1=1.32.2.3&r2=1.32.2.4&diff_format=u
Index: php-src/ext/xsl/php_xsl.c
diff -u php-src/ext/xsl/php_xsl.c:1.32.2.3 php-src/ext/xsl/php_xsl.c:1.32.2.4
--- php-src/ext/xsl/php_xsl.c:1.32.2.3 Tue Dec 6 02:25:36 2005
+++ php-src/ext/xsl/php_xsl.c Mon Dec 26 00:56:41 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xsl.c,v 1.32.2.3 2005/12/06 02:25:36 sniper Exp $ */
+/* $Id: php_xsl.c,v 1.32.2.4 2005/12/26 00:56:41 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -170,6 +170,14 @@
REGISTER_LONG_CONSTANT("XSL_CLONE_NEVER", -1, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("XSL_CLONE_ALWAYS", 1, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("LIBXSLT_VERSION", LIBXSLT_VERSION, CONST_CS
| CONST_PERSISTENT);
+ REGISTER_STRING_CONSTANT("LIBXSLT_DOTTED_VERSION", LIBXSLT_DOTTED_VERSION, CONST_CS
| CONST_PERSISTENT);
+
+#if HAVE_XSL_EXSLT
+ REGISTER_LONG_CONSTANT("LIBEXSLT_VERSION", LIBEXSLT_VERSION,
CONST_CS | CONST_PERSISTENT);
+ REGISTER_STRING_CONSTANT("LIBEXSLT_DOTTED_VERSION", LIBEXSLT_DOTTED_VERSION,
CONST_CS | CONST_PERSISTENT);
+#endif
+
return SUCCESS;
}
/* }}} */