Re: [php-gtk-cvs] cvs: php-gtk /ext/gtk+ gtk.overrides
| From: | Markus Fischer | Date: | Sat, 08 Dec 2001 13:45:43 +0000 |
| Subject: | Re: [php-gtk-cvs] cvs: php-gtk /ext/gtk+ gtk.overrides | ||
| References: | 1 | Groups: | php.gtk.cvs |
| Request: | Send a blank email to php-gtk-cvs+get-398@lists.php.net to get a copy of this message | ||
Does anyone know why I don't get a compiler error? I mean,
php_gtk_gchar_ptr_ptr_free() didn't exist but yet the
compiler didn't say anything about it and I got a
reallocation error but only when this certain if branch was
entered.
I expirience this with ever PHP module I compile under Linux.
When I compile things within MSVC I get the expected compiler
error.
ideas?
- Markus
On Sat, Dec 08, 2001 at 12:56:02PM -0000, Markus Fischer wrote :
> mfischer Sat Dec 8 07:56:02 2001 EDT
>
> Modified files:
> /php-gtk/ext/gtk+ gtk.overrides
> Log:
> - Function has been renamed.
>
> Index: php-gtk/ext/gtk+/gtk.overrides
> diff -u php-gtk/ext/gtk+/gtk.overrides:1.34 php-gtk/ext/gtk+/gtk.overrides:1.35
> --- php-gtk/ext/gtk+/gtk.overrides:1.34 Wed Dec 5 09:35:34 2001
> +++ php-gtk/ext/gtk+/gtk.overrides Sat Dec 8 07:56:02 2001
> @@ -2834,7 +2834,7 @@
> if (!php_gtk_array_to_gchar_array(php_args[i], &(parameters[i]))) {
> php_error(E_WARNING, "%s() expected argument %d to be NULL, string or array of
> strings; %s given",
> get_active_function_name(TSRMLS_C), 3 + i, php_gtk_zval_type_name(php_args[i]));
> - php_gtk_gchar_ptr_ptr_free(parameters, i - 1);
> + php_gtk_free_gchar_array(parameters, i - 1);
> return;
> }
> }
>
>
>
> --
> PHP-GTK CVS Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-cvs-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Please always Cc to me when replying to me on the lists.