summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-09-27 18:00:48 +0000
committerDmitry Stogov <dmitry@php.net>2007-09-27 18:00:48 +0000
commit6c810b0d4c1b12c675f69f5cfb32f26b6179d460 (patch)
treee95f336ce39693101bed812985b914c9bd80523e /Zend/zend_compile.h
parentf6d9901873156c560eb6da7dafbefc56c363b2bd (diff)
downloadphp-git-6c810b0d4c1b12c675f69f5cfb32f26b6179d460.tar.gz
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 0687698144..cdb7a5ff01 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -158,9 +158,9 @@ typedef struct _zend_property_info {
typedef struct _zend_arg_info {
- char *name;
+ const char *name;
zend_uint name_len;
- char *class_name;
+ const char *class_name;
zend_uint class_name_len;
zend_bool array_type_hint;
zend_bool allow_null;
@@ -547,7 +547,7 @@ void zend_do_mark_last_catch(znode *first_catch, znode *last_additional_catch TS
ZEND_API zend_bool zend_is_compiling(TSRMLS_D);
ZEND_API char *zend_make_compiled_string_description(char *name TSRMLS_DC);
ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC);
-int zend_get_class_fetch_type(char *class_name, uint class_name_len);
+int zend_get_class_fetch_type(const char *class_name, uint class_name_len);
typedef zend_bool (*zend_auto_global_callback)(char *name, uint name_len TSRMLS_DC);
typedef struct _zend_auto_global {