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

Axel Dörfler axeld at pinc-software.de
Sat Jun 20 17:29:52 CEST 2009


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.

Bye,
   Axel.




More information about the Haiku-commits mailing list