OK Uhrwerk, Im not ARGUING with you, but I want to try to find out where my logic falls down.
Because, to my mind, it should work...
So please follow MY logical progression and point out where it goes from right to wrong...
Also be aware that I am operating under the BELIEF that the declarations
"ENTITY** slab;"
and "ENTITY **slab;"
and "ENTITY* *slab;"
are all functionally identical.So here goes, from blindingly obvious to hideously obscure...
long slab; [allocates a single LONG in memory]
long slab[4]; [allocates four countiguous LONGs in memory]
long* slab[4]; [allocates four countiguous pointers in memory to other LONGs]
ENTITY* slab[4]; [allocates four countiguous pointers in memory to ENTITYs]
ENTITY* *slab[4]; [allocates four countiguous pointers in memory to an
array of ENTITY pointers (ie ENTITY**) ]
I will shortly follow up with a WORKING code sample of my REQUIRED results are using the
nested sys_malloc system, so everyone can see what Im TRYING to achieve...