cvs: php4(PHP_4_0_7) /ext/com conversion.c conversion.h

From: Date: Sat, 06 Oct 2001 10:39:56 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/com conversion.c conversion.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7701@lists.php.net to get a copy of this message
phanto Sat Oct 6 06:39:56 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/com conversion.c conversion.h Log: typo TRUE -> FALSE Index: php4/ext/com/conversion.c diff -u php4/ext/com/conversion.c:1.33.2.5 php4/ext/com/conversion.c:1.33.2.6 --- php4/ext/com/conversion.c:1.33.2.5 Fri Oct 5 05:49:44 2001 +++ php4/ext/com/conversion.c Sat Oct 6 06:39:55 2001 @@ -188,9 +188,9 @@ case VT_BOOL: convert_to_boolean_ex(&pval_arg); if (Z_LVAL_P(pval_arg)) { - V_BOOL(var_arg) = VT_TRUE; + V_BOOL(var_arg) = TRUE; } else { - V_BOOL(var_arg) = VT_FALSE; + V_BOOL(var_arg) = FALSE; } break; @@ -288,9 +288,9 @@ /* emalloc or malloc ? */ V_BOOLREF(var_arg) = (short FAR*) pemalloc(sizeof(short), 1); if (Z_LVAL_P(pval_arg)) { - *V_BOOLREF(var_arg) = VT_TRUE; + *V_BOOLREF(var_arg) = TRUE; } else { - *V_BOOLREF(var_arg) = VT_TRUE; + *V_BOOLREF(var_arg) = FALSE; } break; Index: php4/ext/com/conversion.h diff -u php4/ext/com/conversion.h:1.6.2.1 php4/ext/com/conversion.h:1.6.2.2 --- php4/ext/com/conversion.h:1.6.2.1 Fri Oct 5 05:49:44 2001 +++ php4/ext/com/conversion.h Sat Oct 6 06:39:56 2001 @@ -2,12 +2,8 @@ #define CONVERSION_H /* isn't this defined somewhere else ? */ - #define Z_TRUE 1 #define Z_FALSE 0 - -#define VT_TRUE -1 -#define VT_FALSE 0 BEGIN_EXTERN_C()

« previous php.cvs (#7701) next »