[interfacekit] Re: patch for Globals.cpp: _init_interface_kit()

"burton666@xxxxxxxxx" <burton666@xxxxxxxxx> wrote:
> > Looks OK to me. IIRC, fini_interface_kit should be able to delete 
> > BTextView's semaphore if you simply save the value in a static 
> > global.
> That's what I was thinking.

I would guess that _fini_interface() is only called on termination of 
the app, right? In that case, you probably wouldn't have to delete 
anything. Although it probably wouldn't be a good idea to initialize 
the width buffer just when someone links against libbe.so. Where is it 
called in our sources?
BTW in my headers, _fini_interface() is friend of BTextView, and so 
should be able to delete what it has to - why can't we just do that, 
too?
_fini_interface_kit() is exported from InterfaceDefs.h and friend of 
BRadioButton as well in the Dano headers.

Bye,
   Axel.


Other related posts: