cvs: ZendEngine2 / zend_operators.c zend_operators.h

From: Date: Wed, 17 Aug 2005 20:02:47 +0000
Subject: cvs: ZendEngine2 / zend_operators.c zend_operators.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4031@lists.php.net to get a copy of this message
helly Wed Aug 17 16:02:47 2005 EDT Modified files: /ZendEngine2 zend_operators.c zend_operators.h Log: - Fix TSRM http://cvs.php.net/diff.php/ZendEngine2/zend_operators.c?r1=1.212&r2=1.213&ty=u Index: ZendEngine2/zend_operators.c diff -u ZendEngine2/zend_operators.c:1.212 ZendEngine2/zend_operators.c:1.213 --- ZendEngine2/zend_operators.c:1.212 Wed Aug 17 13:30:02 2005 +++ ZendEngine2/zend_operators.c Wed Aug 17 16:02:44 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.c,v 1.212 2005/08/17 17:30:02 andrei Exp $ */ +/* $Id: zend_operators.c,v 1.213 2005/08/17 20:02:44 helly Exp $ */ #include <ctype.h> @@ -772,7 +772,7 @@ op->type = IS_STRING; } -ZEND_API void convert_to_binary(zval *op) +ZEND_API void _convert_to_binary(zval *op TSRMLS_DC ZEND_FILE_LINE_DC) { if (!UG(unicode)) { convert_to_string(op); http://cvs.php.net/diff.php/ZendEngine2/zend_operators.h?r1=1.95&r2=1.96&ty=u Index: ZendEngine2/zend_operators.h diff -u ZendEngine2/zend_operators.h:1.95 ZendEngine2/zend_operators.h:1.96 --- ZendEngine2/zend_operators.h:1.95 Thu Aug 11 19:34:59 2005 +++ ZendEngine2/zend_operators.h Wed Aug 17 16:02:45 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.h,v 1.95 2005/08/11 23:34:59 andrei Exp $ */ +/* $Id: zend_operators.h,v 1.96 2005/08/17 20:02:45 helly Exp $ */ #ifndef ZEND_OPERATORS_H #define ZEND_OPERATORS_H @@ -237,7 +237,7 @@ ZEND_API void _convert_to_string_with_converter(zval *op, UConverter *conv TSRMLS_DC ZEND_FILE_LINE_DC); ZEND_API void _convert_to_unicode(zval *op TSRMLS_DC ZEND_FILE_LINE_DC); ZEND_API void _convert_to_unicode_with_converter(zval *op, UConverter *conv TSRMLS_DC ZEND_FILE_LINE_DC); -ZEND_API void convert_to_binary(zval *op); +ZEND_API void _convert_to_binary(zval *op TSRMLS_DC ZEND_FILE_LINE_DC); ZEND_API void convert_to_long(zval *op); ZEND_API void convert_to_double(zval *op); ZEND_API void convert_to_long_base(zval *op, int base); @@ -254,6 +254,7 @@ #define convert_to_string_with_converter(op, conv) _convert_to_string_with_converter((op), (conv) TSRMLS_CC ZEND_FILE_LINE_CC) #define convert_to_unicode(op) _convert_to_unicode((op) TSRMLS_CC ZEND_FILE_LINE_CC) #define convert_to_unicode_with_converter(op, conv) _convert_to_unicode_with_converter((op), (conv) TSRMLS_CC ZEND_FILE_LINE_CC) +#define convert_to_binary(op) _convert_to_binary((op) TSRMLS_CC ZEND_FILE_LINE_CC) #define convert_to_text(op) (UG(unicode)?convert_to_unicode(op):convert_to_string(op)) ZEND_API double zend_string_to_double(const char *number, zend_uint length);

« previous php.zend-engine.cvs (#4031) next »