[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: misc fixes
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: misc fixes
- Date: Sat, 24 Sep 2005 18:47:45 +0200
On Sat, 2005-09-24 at 18:17 +0200, gtk-perl schmorp de wrote:
> > There is some other similar small breakage, but I forgot to fix that when
>
> Haven't stumbled over htem yet, but thinking about it, it seems
> SvGdkGCValues and similar structure-setting fucntions are all broken in
> the same way: there is no way to reset pointers, as Gtk2 enforces them to
> be non-NULL.
Most converters complain loudly if they stumble upon an undefined value,
yes. That's been our policy because it's the correct thing to do in
nearly all cases. When a function does allow NULL, we simply add
_ornull manually -- just like you did in the patch.
(In the bright, not-so-distant introspection future, this will be
automatic: parameter definitions state if NULL is allowed or not.)
--
Bye,
-Torsten
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]