diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:28:44 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:28:44 +0000 |
commit | 8146078f7bbbe4f4799e1a154ea450c90c855728 (patch) | |
tree | 46cb160985407d24ff3a9d485a90e88fee4cdbb6 /ext/dom/node.c | |
parent | 98a2c03808f73be0c08bfe654b985483ccb8d6bc (diff) | |
download | php-git-8146078f7bbbe4f4799e1a154ea450c90c855728.tar.gz |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/dom/node.c')
-rw-r--r-- | ext/dom/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/node.c b/ext/dom/node.c index 226badaa72..81e4e5c10c 100644 --- a/ext/dom/node.c +++ b/ext/dom/node.c @@ -34,7 +34,7 @@ * Since: */ -zend_function_entry php_dom_node_class_functions[] = { +const zend_function_entry php_dom_node_class_functions[] = { PHP_FALIAS(insertBefore, dom_node_insert_before, NULL) PHP_FALIAS(replaceChild, dom_node_replace_child, NULL) PHP_FALIAS(removeChild, dom_node_remove_child, NULL) |