Re: gdk*_ce exporting question.
| From: | Andrei Zmievski | Date: | Fri, 10 Mar 2006 16:48:18 +0000 |
| Subject: | Re: gdk*_ce exporting question. | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2580@lists.php.net to get a copy of this message | ||
This is wrong. You need to check for the class of the object. Can someone on Win32 help him please?
On Mar 10, 2006, at 6:00 AM, xxoes wrote:
I have a solution.: static ZEND_BEGIN_ARG_INFO(arginfo_....., 0) ZEND_ARG_OBJ_INFO(0, pixbuf, GdkPixbuf, 1) ZEND_END_ARG_INFO(); and if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "z", &pixbuf)) {return;} now it works fine for me. mfg xxoes xxoes schrieb:I'm writing an extension for me, but i have problems with the gdk*_ce exports, gtk*_ce works fine but not gdk if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "O", &pixbuf, gdkpixbuf_ce)) {-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpPHPG_THROW_CONSTRUCT_EXCEPTION(GtkInvisible);} The compiler say's: gen_test.obj : error LNK2019: unresolved external symbol __imp__gdkpixbuf_ce referenced in function _zif_test_test with gtkwindow_ce it works fine. How can i get a GdkPixbuf aobject as an argument to my method? mfg xxoes