mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/spl: mark all zend_object_handlers as static (#13547)
This commit is contained in:
parent
0b7ef9874c
commit
0de88dfb81
5 changed files with 7 additions and 7 deletions
|
@ -34,12 +34,12 @@
|
|||
#include "spl_exceptions.h"
|
||||
|
||||
/* Defined later in the file */
|
||||
zend_object_handlers spl_handler_ArrayIterator;
|
||||
static zend_object_handlers spl_handler_ArrayIterator;
|
||||
PHPAPI zend_class_entry *spl_ce_ArrayIterator;
|
||||
PHPAPI zend_class_entry *spl_ce_RecursiveArrayIterator;
|
||||
|
||||
/* ArrayObject class */
|
||||
zend_object_handlers spl_handler_ArrayObject;
|
||||
static zend_object_handlers spl_handler_ArrayObject;
|
||||
PHPAPI zend_class_entry *spl_ce_ArrayObject;
|
||||
|
||||
typedef struct _spl_array_object {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "spl_dllist_arginfo.h"
|
||||
#include "spl_exceptions.h"
|
||||
|
||||
zend_object_handlers spl_handler_SplDoublyLinkedList;
|
||||
static zend_object_handlers spl_handler_SplDoublyLinkedList;
|
||||
PHPAPI zend_class_entry *spl_ce_SplDoublyLinkedList;
|
||||
PHPAPI zend_class_entry *spl_ce_SplQueue;
|
||||
PHPAPI zend_class_entry *spl_ce_SplStack;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "spl_iterators.h"
|
||||
#include "ext/json/php_json.h"
|
||||
|
||||
zend_object_handlers spl_handler_SplFixedArray;
|
||||
static zend_object_handlers spl_handler_SplFixedArray;
|
||||
PHPAPI zend_class_entry *spl_ce_SplFixedArray;
|
||||
|
||||
#ifdef COMPILE_DL_SPL_FIXEDARRAY
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
#define SPL_HEAP_CORRUPTED 0x00000001
|
||||
|
||||
zend_object_handlers spl_handler_SplHeap;
|
||||
zend_object_handlers spl_handler_SplPriorityQueue;
|
||||
static zend_object_handlers spl_handler_SplHeap;
|
||||
static zend_object_handlers spl_handler_SplPriorityQueue;
|
||||
|
||||
PHPAPI zend_class_entry *spl_ce_SplHeap;
|
||||
PHPAPI zend_class_entry *spl_ce_SplMaxHeap;
|
||||
|
|
|
@ -42,7 +42,7 @@ PHPAPI zend_class_entry *spl_ce_SplSubject;
|
|||
PHPAPI zend_class_entry *spl_ce_SplObjectStorage;
|
||||
PHPAPI zend_class_entry *spl_ce_MultipleIterator;
|
||||
|
||||
PHPAPI zend_object_handlers spl_handler_SplObjectStorage;
|
||||
static zend_object_handlers spl_handler_SplObjectStorage;
|
||||
|
||||
/* Bit flags for marking internal functionality overridden by SplObjectStorage subclasses. */
|
||||
#define SOS_OVERRIDDEN_READ_DIMENSION 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue