]> granicus.if.org Git - php/commitdiff
- No reason for refcount to be signed and move to zend_* typedefs
authorAndi Gutmans <andi@php.net>
Sat, 18 Mar 2000 16:00:30 +0000 (16:00 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 18 Mar 2000 16:00:30 +0000 (16:00 +0000)
Zend/zend.h

index 614d8614f7ae80c51a2f25fe7dfa1a37695afdfc..2eb6b71428d4625123df729e94e067b08df37e5a 100644 (file)
 typedef unsigned char zend_bool;
 typedef unsigned char zend_uchar;
 typedef unsigned int zend_uint;
+typedef unsigned short zend_ushort;
 
 #undef SUCCESS
 #undef FAILURE
@@ -155,9 +156,9 @@ typedef union _zvalue_value {
 struct _zval_struct {
        /* Variable information */
        zvalue_value value;             /* value */
-       unsigned char type;     /* active type */
-       unsigned char is_ref;
-       short refcount;
+       zend_uchar type;        /* active type */
+       zend_uchar is_ref;
+       zend_ushort refcount;
 };