[Haiku-commits] r31134 - in haiku/trunk: headers/os/interface src/kits/interface

Stephan Assmus superstippi at gmx.de
Sat Jun 20 17:38:05 CEST 2009


On 2009-06-20 at 17:29:52 [+0200], Axel Dörfler <axeld at pinc-software.de> 
wrote:
> stippi at BerliOS <stippi at mail.berlios.de> wrote:
> > Log:
> > Cache a view's server token. Avoids getting it for every BView method 
> > that contacts the server.
> 
> Haven't you had a look at how _get_object_token_() is defined?
> 
> inline int32 _get_object_token_(const BHandler* object)
>     { return object->fToken; }
> 
> You can as well revert this one, and have one uint32 more reserved; no 
> need to store this twice.

Ups, I thought I looked this up in the past, sorry about that.

Best regards,
-Stephan



More information about the Haiku-commits mailing list