- No reason for refcount to be signed and move to zend_* typedefs

This commit is contained in:
Andi Gutmans 2000-03-18 16:00:30 +00:00
parent f5a77d04ff
commit 512ff32f87

View File

@ -117,6 +117,7 @@
typedef unsigned char zend_bool; typedef unsigned char zend_bool;
typedef unsigned char zend_uchar; typedef unsigned char zend_uchar;
typedef unsigned int zend_uint; typedef unsigned int zend_uint;
typedef unsigned short zend_ushort;
#undef SUCCESS #undef SUCCESS
#undef FAILURE #undef FAILURE
@ -155,9 +156,9 @@ typedef union _zvalue_value {
struct _zval_struct { struct _zval_struct {
/* Variable information */ /* Variable information */
zvalue_value value; /* value */ zvalue_value value; /* value */
unsigned char type; /* active type */ zend_uchar type; /* active type */
unsigned char is_ref; zend_uchar is_ref;
short refcount; zend_ushort refcount;
}; };