Re: gdk*_ce exporting question.
| From: | xxoes | Date: | Fri, 10 Mar 2006 14:00:18 +0000 |
| Subject: | Re: gdk*_ce exporting question. | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2577@lists.php.net to get a copy of this message | ||
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)) {PHPG_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