Skip to content

Commit 4dd8b45

Browse files
authored
rename version macro (#37)
1 parent 9eeefa8 commit 4dd8b45

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: php_simple_kafka_client_int.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ extern zend_object_handlers kafka_default_object_handlers;
143143

144144
#define phpext_kafka_ptr &simple_kafka_client_module_entry
145145

146-
#define PHP_KAFKA_VERSION "0.1.1"
146+
#define PHP_SIMPLE_KAFKA_CLIENT_VERSION "0.1.1"
147147

148148

149149
static inline void kafka_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache, zval *retval, uint32_t param_count, zval params[])

Diff for: simple_kafka_client.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ PHP_MINFO_FUNCTION(simple_kafka_client)
361361
php_info_print_table_start();
362362
php_info_print_table_row(2, "kafka support", "enabled");
363363

364-
php_info_print_table_row(2, "version", PHP_KAFKA_VERSION);
364+
php_info_print_table_row(2, "version", PHP_SIMPLE_KAFKA_CLIENT_VERSION);
365365
php_info_print_table_row(2, "build date", __DATE__ " " __TIME__);
366366

367367
spprintf(
@@ -395,7 +395,7 @@ zend_module_entry simple_kafka_client_module_entry = {
395395
NULL,
396396
NULL,
397397
PHP_MINFO(simple_kafka_client),
398-
PHP_KAFKA_VERSION,
398+
PHP_SIMPLE_KAFKA_CLIENT_VERSION,
399399
STANDARD_MODULE_PROPERTIES
400400
};
401401
/* }}} */

0 commit comments

Comments
 (0)