Re: [patch] GtkScaleButton Methods
| From: | Andrei Zmievski | Date: | Tue, 22 Jan 2008 19:56:03 +0000 |
| Subject: | Re: [patch] GtkScaleButton Methods | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4081@lists.php.net to get a copy of this message | ||
We shouldn't use C99's syntax, since not all compilers support it. I'm talking about initializing an array from a non-const value.
-Andrei
+ if(iconlist)
+ listlen = zend_hash_num_elements(Z_ARRVAL_P(iconlist));
+ else
+ listlen = 0;
+
+ gchar *list[listlen+1];
+ iter = 0;