Re: Getting a function definition?

From: Date: Thu, 03 Nov 2005 04:07:41 +0000
Subject: Re: Getting a function definition?
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2041@lists.php.net to get a copy of this message
Wouldn't the reflection API offer this information as well because of the extra fluff stuff Christian added in? -Jeremy On 11/2/05, Steph Fox <steph@zend.com> wrote: > Not really, no. > > You don't need to delve into 'lines and lines of code' though. Just search > on whatever you're looking for. Try the respective overrides file first > (i.e. gtk.overrides if you're looking at a GTK function), and if it's not > there you'll know that whatever's in the gtk.defs file is correct. > > ('course you could skip the aggro of going through two files by just > checking gen_gtk.c instead... but if you didn't build your own copy of > php-gtk you won't have that option.) > > > ----- Original Message ----- > From: "Jp" <jp@jp-corner.uni.cc> > To: <php-gtk-dev@lists.php.net> > Sent: Wednesday, November 02, 2005 10:54 PM > Subject: [PHP-GTK-DEV] Getting a function definition? > > > > Hi all, > > > > is there an easy way (that doesn't involve dwelving into lines and lines > > of code) to find the prototype of a function/method in PHP-GTK2? One of > > those "void set_label(string label = NULL);" things?... > > > > This is mainly because there are a few functions in the manual that I'm > > not sure if they are correct, while others are missing the default > > arguments. > > > > Thanks, > > > > -Jp > > > > -- > > PHP-GTK Development Mailing List (http://gtk.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- --------------------------- Jeremy Johnstone http://www.jeremyjohnstone.com jsjohnst@php.net

« previous php.gtk.dev (#2041) next »