From 1361fc56b5ffae8710c7eaef2bb1b4d697bfb297 Mon Sep 17 00:00:00 2001 From: cdoco Date: Wed, 20 Jun 2018 14:54:49 +0800 Subject: [PATCH] Update version (1.0.0-rc) --- php_xfilter.h | 10 +--------- xfilter.c | 2 ++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/php_xfilter.h b/php_xfilter.h index 5a9c055..a8c4e55 100644 --- a/php_xfilter.h +++ b/php_xfilter.h @@ -27,18 +27,10 @@ extern zend_module_entry xfilter_module_entry; #define phpext_xfilter_ptr &xfilter_module_entry -#define PHP_XFILTER_VERSION "0.1.0" /* Replace with version number for your extension */ +#define PHP_XFILTER_VERSION "1.0.0-rc" #define KEYWORD_MAX_LEN 1024 -#ifdef PHP_WIN32 -# define PHP_XFILTER_API __declspec(dllexport) -#elif defined(__GNUC__) && __GNUC__ >= 4 -# define PHP_XFILTER_API __attribute__ ((visibility("default"))) -#else -# define PHP_XFILTER_API -#endif - #ifdef ZTS #include "TSRM.h" #endif diff --git a/xfilter.c b/xfilter.c index 2b76f37..f9b7a2e 100644 --- a/xfilter.c +++ b/xfilter.c @@ -329,6 +329,8 @@ PHP_MINFO_FUNCTION(xfilter) { php_info_print_table_start(); php_info_print_table_header(2, "xfilter support", "enabled"); + php_info_print_table_row(2, "Version", PHP_XFILTER_VERSION); + php_info_print_table_end(); DISPLAY_INI_ENTRIES();