next up previous contents [pdf] index

Next: Call Up: Convenience allocation programs (alloc.c) Previous: Output


sf_boolalloc2

Allocates a 2D array in the memory for the bool type. It works just like [sec:sf_boolalloc]sf_boolalloc but does it for two dimensions. This is done by making a pointer point to another pointer, which in turn points to a particular column (or row) of an allocated 2D block of memory of size n1*n2. n1 is the fastest dimension.



Subsections


2011-07-02