Re: cvs: php4 /ext/sablot php_sablot.h
| From: | Zeev Suraski | Date: | Fri, 10 Aug 2001 13:01:52 +0000 |
| Subject: | Re: cvs: php4 /ext/sablot php_sablot.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6702@lists.php.net to get a copy of this message | ||
At 15:54 10-08-01, Rasmus Lerdorf wrote:
Modified files:I'd appreciate some help as I don't have an environment to build this./php4/ext/sablot php_sablot.hLog: There we go. Keep trying. You still didn't get them all.
I don't understand why you are forcing all extension authors to name their globals zend_*They don't have to name them at all. They should just be using the macros, and using them everywhere. That's the whole point of the macros - making changes at one centralized place. Having two sets of macros is simply a bad thing - 2x places to fix and more opportunities to mess up. Regardless, the way you committed sablot.c was a hybrid of using macros and not using them, which just happened to build because you defined a variable of a certain name. It was still conceptually wrong. Zeev