On Fri, Mar 22, 2002 at 11:57:50AM -0800, Neil Watkiss wrote:
> Sander van Zoest [22/03/02 11:09 -0800]:
> > Now, I have another C++ class that I am trying to "inline" and
> > I am curious to how I would reference the other C++ code since
> > the C++ class works on an object that is an instance of the first 
> > class. Is this doable? 
> I'm not sure if I understand your question exactly. Is this what you're
> trying to do?
<snip>

Yes, pretty much.
  
> If so, you'll have to provide the class declaration for "Foo" in the "Bar"
> area, or combine the two into one __CPP__ section. Otherwise the C++ compiler
> on the "Bar" area won't know what to do with Foo *s, and Inline::CPP won't
> know how to typemap Foo * either. Does that make sense?

Yes, I was just hoping to avoid having to have a duplicate __CPP__ section
in "Bar". It would be cool if I could just put a "use Foo" somewhere and
have that also expose the C++ code for use in the __CPP__ section . ;-)
  
Thanks,

-- 
Sander van Zoest                                          +1 (619) 881-3000
Yahoo!, Inc.                                           [EMAIL PROTECTED]
<http://www.yahoo.com/>                       <http://sander.vanzoest.com/>

Reply via email to