com php-src: Adjust datatypes and reorder which saves 8 bytes on 64-bit: ext/mbstring/mbstring.h
| From: | Anatol Belski | Date: | Sun, 23 Jul 2017 14:37:30 +0000 |
| Subject: | com php-src: Adjust datatypes and reorder which saves 8 bytes on 64-bit: ext/mbstring/mbstring.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98754@lists.php.net to get a copy of this message | ||
Commit: ea83b69883f3f77fd27e4663fa854c88f141ab41
Author: Anatol Belski <ab@php.net> Sun, 23 Jul 2017 14:13:16 +0200
Parents: fe8384fdfd73b0f63208f5c61abcd641dfa8a8e5
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ea83b69883f3f77fd27e4663fa854c88f141ab41
Log:
Adjust datatypes and reorder which saves 8 bytes on 64-bit
Changed paths:
M ext/mbstring/mbstring.h
Diff:
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h
index 786bb5f..6d04072 100644
--- a/ext/mbstring/mbstring.h
+++ b/ext/mbstring/mbstring.h
@@ -161,7 +161,6 @@ int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint32_t n
ZEND_BEGIN_MODULE_GLOBALS(mbstring)
char *internal_encoding_name;
- enum mbfl_no_language language;
const mbfl_encoding *internal_encoding;
const mbfl_encoding *current_internal_encoding;
const mbfl_encoding *http_output_encoding;
@@ -183,9 +182,10 @@ ZEND_BEGIN_MODULE_GLOBALS(mbstring)
int filter_illegal_substchar;
int current_filter_illegal_mode;
int current_filter_illegal_substchar;
- long func_overload;
+ zend_long func_overload;
+ enum mbfl_no_language language;
zend_bool encoding_translation;
- long strict_detection;
+ zend_bool strict_detection;
size_t illegalchars;
mbfl_buffer_converter *outconv;
void *http_output_conv_mimetypes;