Re: [java-gnome-hackers] null values in .defs files
Brought to you by:
afcowie
From: Niranjan R. <nh...@gm...> - 2013-02-23 02:25:41
|
But this was my reply to your query if anyone else like to have anything in :) I wanted to this feature in if possible in the next release. Thanks for the information. I'll modify my generator accordingly. Regards, Niranjan On 02/22/2013 04:57 PM, Andrew Cowie wrote: > On Fri, 2013-02-22 at 10:40 -0800, Niranjan Rao wrote: >> Not sure if this is already implemented and I am not aware of the >> syntax. > Hi Niranjan. Please start a new thread for new topics, eh? > >> I am looking for a way to specify in defs file that is null value is >> legal value for a given parameter. > Add (null-ok) to the parameter line. From GtkButton > > (define-method set_image > (of-object "GtkButton") > (c-name "gtk_button_set_image") > (return-type "none") > (parameters > '("GtkWidget*" "image" (null-ok)) > ) > ) > > AfC > Sydney > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > > > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers |