ZEND_PUTC question

From: Date: Thu, 21 Nov 2002 21:20:04 +0000
Subject: ZEND_PUTC question
Groups: php.dev 
Request: Send a blank email to php-dev+get-91434@lists.php.net to get a copy of this message
I was looking at compile warnings for 4.3, and came across this in Zend/zend.h /* output support */ #define ZEND_WRITE(str, str_len) zend_write((str), (str_len)) #define ZEND_PUTS(str) zend_write((str), strlen((str))) #define ZEND_PUTC(c) zend_write(&(c), 1), (c) is there a reason why that last line isn't just #define ZEND_PUTC(c) zend_write(&(c), 1) ??

« previous php.dev (#91434) next »