
|
[openbeosnetteam]
||
[Date Prev]
[11-2002 Date Index]
[Date Next]
||
[Thread Prev]
[11-2002 Thread Index]
[Thread Next]
[openbeosnetteam] Re: NetDebug.h break BC
- From: "Matthijs Hollemans" <matthijs@xxxxxxxxxxxxxxxxxxx>
- To: <openbeosnetteam@xxxxxxxxxxxxx>
- Date: Wed, 13 Nov 2002 17:21:48 +0100
Phillipe,
> How I understand it, the order in which variables appears
> in the class definition doesn't matter here, as it's only
important
> for the vtable layout, so only virtual methods, not variables?
Actually, that's a good question. I don't know whether the order of
the non-virtual public and protected functions and variables
matters. (All I know from BC is from that newsletter article.) When
I made the Midi Kit classes binary compatible, I simply took the Be
headers and left the public and protected stuff alone.
> - And what about the newly added protected variables [...]
AFAIK, you can safely add new variables, as long as the sizeof()
stays the same. Whether it is smart to add stuff to the public and
protected sections is another thing, because that means you are
changing the class' API...
--
Matthijs
|

|