Re: zend_API.c
| From: | Harald Radi | Date: | Mon, 03 Feb 2003 14:55:02 +0000 |
| Subject: | Re: zend_API.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-93927@lists.php.net to get a copy of this message | ||
hi andrei,
what would you think if we add a zend_parse_method_parameters() function to
the parse parameters API ?
as you're maintaining that part of the code i thought it would be a good idea
to ask you first, before i'm going to commit something.
:)
to be serious:
it is not yet used anywhere, so we can still change it however we want. if you
think it doesn't belong there we can even remove it, but i already needed that
functionality in 3+ extensions and i guess you even will like it for your gtk
stuff. i even have to review the thing as i don't think it that it works as
expected right now, but i was in a hurry yesterday and made a skeleton for
georgs mysqli extension which needed that functions.
i also postet a message to php5-dev first but somehow it doesn't show up there
(?).
harald.
"Andrei Zmievski" <andrei@gravitonic.com> schrieb im Newsbeitrag
news:<20030203144230.GA1487@hyperion.gravitonic.com>...
> > 2003-02-02 Harald Radi <harald.radi+coding.php@nme.at>
> >
> > * zend_API.c
> > zend_API.h:
> > extend the parameter parsing API by two functions
> > for parsing method parameters with automatic
> > detection if the function was called as such or as
> > a class method (with a valid this ptr).
> > if called as a function the first parameter has to be
> > the object it is operating on, if called as a method
> > this is used.
>
> Would have been nice of you to talk with me about this first, since I
> maintain that code.
>
> -Andrei >|"�B³{�QA
> hoÑPhttp://www.gravitonic.com/
> * Use the source, Luke. *