paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] ParaGUI && Embedded C++


From: Teunis Peters
Subject: Re: [paragui-users] ParaGUI && Embedded C++
Date: Mon, 28 Jul 2003 17:03:52 -0700 (PDT)

On Mon, 28 Jul 2003, Roger D. Vargas wrote:

> On Mon, 28 Jul 2003, Teunis Peters wrote:
>
> > {
> >   struct a d;
> >   int moredata;
> >
> >   void (*callme)(time_t when);
> > };
> >
> > does data inheritance.  A little more overhead for those talking with
> > struct c, but it's binary compatible except for size with struct a.
> How do you make moredata available to the callme function without passing
> as parameter? That is a problem I have been trying to resolve sometime
> ago.

oh right...
void (*callme)(struct b*, time_t when);
it's no biggy.  You can make macros to handle the job for you if you want.
Actually that's where C++ started...

Right.  Long day - too much work today (day job == electronics tech)

G'day, eh? :)
        - Teunis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]