Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 22:54:23 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Chris Costello <chris@calldei.com>
Cc:        Thomas David Rivers <rivers@dignus.com>, chuckr@picnic.mat.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: X11/C++ question
Message-ID:  <Pine.BSF.4.10.9910262253180.96158-100000@green.myip.org>
In-Reply-To: <19991026210429.Q452@holly.calldei.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Oct 1999, Chris Costello wrote:

> On Tue, Oct 26, 1999, Thomas David Rivers wrote:
> >       extern "C" {
> > 
> >          void
> >          callback_function(arg1)
> >          void *arg1;
> >          {
> > 	  /* Call the method */
> > 	   myclass::mymethod(arg1);
> 
>    As far as I've seen, you can't directly call a class method
> without an object.

Sure you can.  It won't have any access to "this" or any part thereof,
however.

> 
> -- 
> |Chris Costello <chris@calldei.com>
> |A closed mouth gathers no feet.
> `----------------------------------
> 

-- 
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910262253180.96158-100000>