backward/forward binary compatibility checker

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Jul 30 22:14:53 BST 2009


Thiago Macieira wrote:
> Matthew Woehlke wrote:
>> Am I missing a way to pack the three members of that struct (one of
>> which is 1024 bytes by itself) into 1024 bytes?
> 
> I think you're misreading.
> 
> sizeof(uint) = 4  =>  sizeof(uint[256]) = 1024
> 
> sizeof(uchar) = 1 => sizeof(uchar[256]) = 256

D'oh, you are right :-). I thought I was probably missing something.

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
Disadvantage: Bad Puns [-5]
You constantly utter puns so egregious as to cause mental distress to 
anyone hearing them. This can, however, be used to distract enemies.





More information about the kde-core-devel mailing list