Re: More Patches!

From: Date: Fri, 16 Dec 2005 02:19:36 +0000
Subject: Re: More Patches!
References: 1 2 3  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1704@lists.php.net to get a copy of this message
Christian Weiske escreveu: > 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? Hey, an elephant! *runs away* Heh, this could probably be done by parsing the xml, then using reflection class for the current arguments, and finally comparing the two. I've started fiddling with this, but it would take me a looong time, as I never played with neither xml nor reflection... >>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. > I'm reporting to dev list then. -Hp

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.doc (#1704) next »