Re: More Patches!
| From: | Christian Weiske | Date: | Thu, 15 Dec 2005 07:20:12 +0000 |
| Subject: | Re: More Patches! | ||
| References: | 1 2 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1703@lists.php.net to get a copy of this message | ||
Hello Jp,
> How should we handle this cases? Update manually, or is there a way to
> do this automatically?
Currently there is no way to do that automatically, and I doubt someone
will write such a script.
However, it *would* be possible far more easy to make a php script which
parses the xml manual files, and if it's a class, checks what methods
are in there, checks if the method exists in php, checks the parameters
and spits out a warning if something doesn't match. Adding the xml
should be done manually, but checking should work.
Any volunteers?
> On another note, the GdkColorButton::get_color method has an awkward
> behaviour, from a PHP point-of-view. It takes a GdkColor as argument, to
> fill it in. Shouldn't it *return* a GdkColor?
That's definitely a has-to-be-changed-to-fit-the-php-style-of-things.
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc