summaryrefslogtreecommitdiff
path: root/Zend/zend_ptr_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_ptr_stack.c')
-rw-r--r--Zend/zend_ptr_stack.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/Zend/zend_ptr_stack.c b/Zend/zend_ptr_stack.c
index d178cc0184..9d82bba475 100644
--- a/Zend/zend_ptr_stack.c
+++ b/Zend/zend_ptr_stack.c
@@ -110,23 +110,6 @@ ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack)
{
return stack->top;
}
-
-ZEND_API void zend_ptr_stack_push_from_memory(zend_ptr_stack *stack, int count, void **pointers)
-{
- ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count);
-
- memcpy(stack->top_element, pointers, count * sizeof(void *));
- stack->top_element += count;
- stack->top += count;
-}
-
-ZEND_API void zend_ptr_stack_pop_into_memory(zend_ptr_stack *stack, int count, void **pointers)
-{
- memcpy(pointers, stack->top_element - count, count * sizeof(void *));
- stack->top_element -= count;
- stack->top -= count;
-}
-
/*
* Local variables:
* tab-width: 4