[openbeos] Re: BNetAddress update -- a question.

  • From: "Marcus Overhagen" <ml@xxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 23 Sep 2002 02:07:40 CEST (+0200)

> uncomplete but yet not totally empty that the GetImpl() methods, which 
> we *have* to 
> implement as they're public, just return NULL:

You don't have to implement them. They are inline, and do not appear in the 
library.

$  nm /boot/beos/system/lib/libnetapi.so | grep Get
0000f7ec T GetAddr__C11BNetAddressPcPUs
0000f74c T GetAddr__C11BNetAddressR11sockaddr_in
0000f6ac T GetAddr__C11BNetAddressR7in_addrPUs 

Any program really trying to use them is doing a direct memory access at
offsetof(class BNetAddress,m_impl)

You could also make it private, put perhaps simply removing is the best 
solution.

Marcus


Other related posts: