bonobo_x_object
- From: Michael Meeks <michael ximian com>
- To: George <jirka 5z com>
- Cc: gnome-components-list gnome org
- Subject: bonobo_x_object
- Date: Wed, 2 May 2001 12:15:33 -0400 (EDT)
Hi George,
On Sat, 21 Apr 2001, George wrote:
> BonoboX
> private void
> fooBar (PortableServer_Servant servant,
> const CORBA_char *string,
> CORBA_Environment *ev)
> {
> Self *self = SELF (bonobo_object_from_servant (servant));
I would reccommend using 'bonobo_x_object (servant)', since its a
pretty fun routine. It detetects the pointer type by magic, so it should
be possible to build it into the 'SELF' macro ie.
Self *self = SELF (servant);
Where SELF is:
(OLD_SELF_MACRO (bonobo_x_object (o))
Might help some people not have to understand the difference
between a servant and the object itself.
Regards,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]