
|
[openbeosnetteam]
||
[Date Prev]
[11-2002 Date Index]
[Date Next]
||
[Thread Prev]
[11-2002 Thread Index]
[Thread Next]
[openbeosnetteam] Re: NetDebug.h break BC
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Wed, 13 Nov 2002 17:19:41 +0100 CET
Philippe Houdoin <philippe.houdoin@xxxxxxx> wrote:
> So, based on this HOW-TO, the current/headers/os/net/NetBuffer.h
> break BC because:
>
> - the protected status_t m_init should be somewhere.
> I guess fInitialized make a good candidate to be replace by m_init...
AFAICT the NetBuffer.h is very different from the one in R5:
- different class size; R5's header only has two variables, one of them
is protected (m_init), and must be exported, and m_impl which could be
used for anything (also with another name) - all other variables must
be removed, also the fPrivateData[] field doesn't match reality, since
there aren't any reserved variables.
- the reserved virtual slots have been removed and must be added again
to have the same vtable size and layout.
> How I understand it, the order in which variables appears
protected variables must be on the same location, with the same name
(for source compatibility), private variables can be moved and renamed,
though.
> - And what about the newly added protected variables fData,
> fDataSize, fStackSize, fCapacity? No issue here?
There is no space in the class left, so they had to be removed. (you
could use the m_impl as the private data field - which would obviously
be the same as it is now).
Adios...
Axel.
|

|