|
|
|
|
|
by ryanobjc
4457 days ago
|
|
So, I guess I need to look closer than the pixels then: typedef struct k0{signed char m,a,t;C u;I r;union{G g;H h;I i;J j;E e;F f;S s;struct k0k;struct{J n;G G0[1];};};}K; Sorry I guess I'm just not seeing the "not much there and actually easy to understand" Whatever a 'H' is |
|
To elaborate: K uses one letter mnemonic codes for all of it's basic storage types:
(Note how G,H,I,J follow each other?) (Again, they are near each other) And that's mostly it; the last unnamed union (with fields "n" and "G0") is for vectors, n being the length and G0 being the data.The only other field you are ever going to need is "t" for type (saying whether which union member is actually in use). The rest are internal implementation details, but are also easy to remember: r=reference count; u=flags; m and a have something to do with memory mapping and allocation).
There are a few more basic types: b=boolean, t=time,d=date,p=datetime,u=month - but they are merely different interpretations of the EFGHIJSK members above; to access data from C, all you need is the list given above.