php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_ptr_stack.c File Reference
#include "zend.h"
#include "zend_ptr_stack.h"
#include <stdarg.h>

Go to the source code of this file.

Functions

ZEND_API void zend_ptr_stack_init_ex (zend_ptr_stack *stack, bool persistent)
 
ZEND_API void zend_ptr_stack_init (zend_ptr_stack *stack)
 
ZEND_API void zend_ptr_stack_n_push (zend_ptr_stack *stack, int count,...)
 
ZEND_API void zend_ptr_stack_n_pop (zend_ptr_stack *stack, int count,...)
 
ZEND_API void zend_ptr_stack_destroy (zend_ptr_stack *stack)
 
ZEND_API void zend_ptr_stack_apply (zend_ptr_stack *stack, void(*func)(void *))
 
ZEND_API void zend_ptr_stack_reverse_apply (zend_ptr_stack *stack, void(*func)(void *))
 
ZEND_API void zend_ptr_stack_clean (zend_ptr_stack *stack, void(*func)(void *), bool free_elements)
 
ZEND_API int zend_ptr_stack_num_elements (zend_ptr_stack *stack)
 

Function Documentation

◆ zend_ptr_stack_apply()

ZEND_API void zend_ptr_stack_apply ( zend_ptr_stack * stack,
void(* func )(void *) )

Definition at line 80 of file zend_ptr_stack.c.

◆ zend_ptr_stack_clean()

ZEND_API void zend_ptr_stack_clean ( zend_ptr_stack * stack,
void(* func )(void *),
bool free_elements )

Definition at line 99 of file zend_ptr_stack.c.

◆ zend_ptr_stack_destroy()

ZEND_API void zend_ptr_stack_destroy ( zend_ptr_stack * stack)

Definition at line 72 of file zend_ptr_stack.c.

◆ zend_ptr_stack_init()

ZEND_API void zend_ptr_stack_init ( zend_ptr_stack * stack)

Definition at line 31 of file zend_ptr_stack.c.

◆ zend_ptr_stack_init_ex()

ZEND_API void zend_ptr_stack_init_ex ( zend_ptr_stack * stack,
bool persistent )

Definition at line 24 of file zend_ptr_stack.c.

◆ zend_ptr_stack_n_pop()

ZEND_API void zend_ptr_stack_n_pop ( zend_ptr_stack * stack,
int count,
... )

Definition at line 55 of file zend_ptr_stack.c.

◆ zend_ptr_stack_n_push()

ZEND_API void zend_ptr_stack_n_push ( zend_ptr_stack * stack,
int count,
... )

Definition at line 37 of file zend_ptr_stack.c.

◆ zend_ptr_stack_num_elements()

ZEND_API int zend_ptr_stack_num_elements ( zend_ptr_stack * stack)

Definition at line 114 of file zend_ptr_stack.c.

◆ zend_ptr_stack_reverse_apply()

ZEND_API void zend_ptr_stack_reverse_apply ( zend_ptr_stack * stack,
void(* func )(void *) )

Definition at line 89 of file zend_ptr_stack.c.