On Sat, 05 Feb 2011 21:25:32 -0500 Christopher Michael <cpmicha...@comcast.net> said:
> Something seems a little strange with this. E_Border.h declares > offer_resistance as unsigned int, but e_config (and e_remember) has the > property as unsigned char ?? its actually functionally the same really. all of it uses bitfields - so only 1 bit. the difference is: unsigned char val : 1; uses 8 bits - and merges with neighbouring unsigned char xxx : 1; bitfields - so 8 adjacent ones will consume the same byte. unsigned int val : 1; is the same - but it gives 32bits of space.. so you can stick 32 of them next to eachother to share the same space as 1. (thats the simple version). -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel