On Mon, 30 Jun 2003, George Schlossnagle wrote:
> On Monday, June 30, 2003, at 12:04  PM, Andi Gutmans wrote:
> 
> >I must be thick. I don't quite understand how the source relates to 
> >what is described in the .png. Take for example the following from the 
> >api.c file:
> 
> I talked this over with Marcus.  The FE/FALIAS pairs are designed to 
> avoid namespace conflicts with the other (not yet existent) reflection 
> classes.  I better solution will be to write a new macro that allows 
> ZEND_FUNCTION(php_function_getstartline) to be registered as a class 
> method directly as 'getstartline).  I'll modify my patch shortly.  If 
> something like that exists already, a pointer to it would be swell.

#define ZEND_METHOD(class, name) ZEND_NAMED_FUNCTION(ZEND_FN(class##_##name))

It's already in zend_API.h

-Andrei
* Anything will fit if you push hard enough. *

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to