Re: Patch for generator - allow compiling against multiple gtk versions

From: Date: Sun, 28 Jan 2007 03:11:00 +0000
Subject: Re: Patch for generator - allow compiling against multiple gtk versions
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3604@lists.php.net to get a copy of this message
Hey Andrei,
I am trying to think of when this behavior might be useful, i.e. building against 2.10 but specifying a lower version to the generator. IMHO, if we build against 2.10, we want all the defs and overrides for 2.10. So the gtk::get_version() should be fine.
It'd be useful because we've now established that we need to keep a GTK 2.6.10/PHP 5.2.0 runtime handy for half the Windows systems around, in perpetua. The rest can use GTK 2.10.6 and latest PHP CVS... - Steph
As for the 'restore' keyword, it was probably not working because the includes for 2.8 happened before the ignores in the main file, so the check that restore was doing was against empty ignore tables. I think a better approach would be to maintain an 'unignore' table that 'restore' keyword fills in, and then any 'ignore' keywords check against that table. -Andrei -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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