Re: overrid for GdkPixbuf::save()

From: Date: Tue, 14 Mar 2006 17:13:08 +0000
Subject: Re: overrid for GdkPixbuf::save()
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2610@lists.php.net to get a copy of this message
Doing it the long way is still acceptable.. On Mar 14, 2006, at 1:30 AM, Christian Weiske wrote:
This is definitely not the correct way to return data in PHP.
array_init(return_value); add_next_index_long(return_value, year); add_next_index_long(return_value, month); add_next_index_long(return_value, day);
The correct way would be to build a return value with "(iii)" as parameter.
php_gtk_build_value(&return_value, "(iii)", year, month, day);
-- Regards/MfG, Christian Weiske


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