[interfacekit] Re: BBlockCache bug

> I had a quick look at the objdump and in fact that's how Be has implemented 
> it. fMark is the index of the last free block (i.e. initially fCacheSize - 1) 

So the first parameter of the constructor does actually count the blocks,
and doesn't specify the memory size. This is how I expected, but i made
the new implementation use it as size (since it was that way in the old
one). But now that you verified it, I fixed that.

It was even possible to rename it from size_t into uint32, since 
both parameters have the same name mangling (Ul)

> -- I would rather rename it to fFreeBlockCount or something like that and 
I  renamed the parameter to blockCount.

Marcus



Other related posts: