From 6c810b0d4c1b12c675f69f5cfb32f26b6179d460 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 27 Sep 2007 18:00:48 +0000 Subject: Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) --- ext/dom/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dom/text.c') diff --git a/ext/dom/text.c b/ext/dom/text.c index da7b34af1e..b23f94a576 100644 --- a/ext/dom/text.c +++ b/ext/dom/text.c @@ -35,7 +35,7 @@ * Since: */ -zend_function_entry php_dom_text_class_functions[] = { +const zend_function_entry php_dom_text_class_functions[] = { PHP_FALIAS(splitText, dom_text_split_text, NULL) PHP_FALIAS(isWhitespaceInElementContent, dom_text_is_whitespace_in_element_content, NULL) PHP_FALIAS(isElementContentWhitespace, dom_text_is_whitespace_in_element_content, NULL) -- cgit v1.2.1