Skip to content

Commit 947657f

Browse files
azjezzTimWolla
andauthored
Zend: drop redundant explicit zend_type_kind enumerator values
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
1 parent 5fa9abf commit 947657f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Zend/zend_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ typedef void (*copy_ctor_func_t)(zval *pElement);
116116
/* zend_type.kind discriminates what type.ptr points at. Exactly one value
117117
* applies at a time; it is a plain enum, not a bitmask like type_mask. */
118118
typedef enum zend_type_kind {
119-
ZEND_TYPE_KIND_NONE = 0, /* no payload; ptr is NULL */
120-
ZEND_TYPE_KIND_NAME = 1, /* a `zend_string*` (class name) */
121-
ZEND_TYPE_KIND_LITERAL_NAME = 2, /* a `const char*` (literal class name) */
122-
ZEND_TYPE_KIND_LIST = 3, /* a `zend_type_list*` */
119+
ZEND_TYPE_KIND_NONE, /* no payload; ptr is NULL */
120+
ZEND_TYPE_KIND_NAME, /* a `zend_string*` (class name) */
121+
ZEND_TYPE_KIND_LITERAL_NAME, /* a `const char*` (literal class name) */
122+
ZEND_TYPE_KIND_LIST, /* a `zend_type_list*` */
123123
} zend_type_kind;
124124

125125
typedef struct {

0 commit comments

Comments
 (0)