Thread: [Fwd: Re: [Java-gnome-hackers] Quick question on the generator's capabilities]
Brought to you by:
afcowie
From: Philip A. C. <pc...@td...> - 2002-08-12 21:22:53
|
For the archives: -----Forwarded Message----- > From: Jeffrey Morgan <ku...@zo...> > To: Philip A. Chapman <pc...@td...> > Subject: Re: [Java-gnome-hackers] Quick question on the generator's capab= ilities > Date: 12 Aug 2002 03:19:29 -0400 >=20 > The correct definition for gnome_url_show should be: >=20 > (define-func gnome_url_show > bool > ((string url) > (GError* error))) >=20 > Using this approach you will be able to retrieve the > value from the GError. As you state below, you will need > to parse the value of GError. Perhaps I can think of a > way to enhance GError to make this simpler. >=20 > -Jeff >=20 > On Sat, 2002-08-10 at 09:46, Philip A. Chapman wrote: > > Jeffrey (or anyone else who knows), > >=20 > > Can the generator deal with pointers to pointers? I'm looking at the > > gnome2.defs function define line for gnome_url_show. It doesn't appear > > as though it can. This is slightly problematic in that a java program > > calling this function will need to parse the value of GError to > > determine why the function call didn't work. > >=20 > > Thanks, > > --=20 > > Philip A. Chapman >=20 >=20 --=20 Philip A. Chapman |