cvs: pecl /blenc blenc.c php_blenc.h

From: Date: Mon, 31 Mar 2008 09:27:26 +0000
Subject: cvs: pecl /blenc blenc.c php_blenc.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10118@lists.php.net to get a copy of this message
sfox Mon Mar 31 09:27:26 2008 UTC Modified files: /pecl/blenc blenc.c php_blenc.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/blenc/blenc.c?r1=1.2&r2=1.3&diff_format=u Index: pecl/blenc/blenc.c diff -u pecl/blenc/blenc.c:1.2 pecl/blenc/blenc.c:1.3 --- pecl/blenc/blenc.c:1.2 Thu Jun 3 05:00:28 2004 +++ pecl/blenc/blenc.c Mon Mar 31 09:27:26 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: blenc.c,v 1.2 2004/06/03 05:00:28 sebastian Exp $ */ +/* $Id: blenc.c,v 1.3 2008/03/31 09:27:26 sfox Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -62,7 +62,7 @@ NULL, PHP_MINFO(blenc), #if ZEND_MODULE_API_NO >= 20010901 - BLENC_VERSION, /* Replace with version number for your extension */ + PHP_BLENC_VERSION, #endif STANDARD_MODULE_PROPERTIES }; @@ -103,7 +103,7 @@ zend_compile_file_old = zend_compile_file; zend_compile_file = blenc_compile; - REGISTER_STRING_CONSTANT("BLENC_EXT_VERSION", BLENC_VERSION, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("BLENC_EXT_VERSION", PHP_BLENC_VERSION, CONST_CS | CONST_PERSISTENT); return SUCCESS; } @@ -146,6 +146,7 @@ { php_info_print_table_start(); php_info_print_table_header(2, "blenc support", "enabled"); + php_info_print_table_row(2, "version", PHP_BLENC_VERSION); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -160,7 +161,7 @@ php_stream *stream; zend_bool dup_key = FALSE; - blenc_header header = {BLENC_IDENT, BLENC_VERSION}; + blenc_header header = {BLENC_IDENT, PHP_BLENC_VERSION}; if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|s", &data, &data_len, &output_file, &output_file_len, http://cvs.php.net/viewvc.cgi/pecl/blenc/php_blenc.h?r1=1.1.1.1&r2=1.2&diff_format=u Index: pecl/blenc/php_blenc.h diff -u pecl/blenc/php_blenc.h:1.1.1.1 pecl/blenc/php_blenc.h:1.2 --- pecl/blenc/php_blenc.h:1.1.1.1 Thu Jun 3 03:38:22 2004 +++ pecl/blenc/php_blenc.h Mon Mar 31 09:27:26 2008 @@ -16,12 +16,12 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_blenc.h,v 1.1.1.1 2004/06/03 03:38:22 john Exp $ */ +/* $Id: php_blenc.h,v 1.2 2008/03/31 09:27:26 sfox Exp $ */ #ifndef PHP_BLENC_H #define PHP_BLENC_H -#define BLENC_VERSION "1.0-alpha" +#define PHP_BLENC_VERSION "1.0.0-dev" #define BLENC_IDENT "BLENC" #define BLENC_BUFSIZE 4092

« previous php.pecl.cvs (#10118) next »