Xiqual 0.9.1

In file xitools/mem_arrayset.c:

long mem_arrayset

(int x, int y, int z, ASpec* a, long val)

Access memory as a 1-, 2- or 3-dimensional array.


Access memory as a 1-, 2- or 3-dimensional array. This sets an element within dynamically allocated memory.
The memory can be accessed as a 1, 2 or 3 dimensional array, depending in the settings of ASpec.
The data pointer in the ASpec structure is of type 'long', which means that the value may have to be 'type cast'.
Setting data will be more complex if a finer resolution is required. For the moment this will be up to the user to sort out.
- x The x offset in the array.
- y The y offset in the array.
z - The z offset in the array.
ASpec - A pointer to an ASpec structure.
- val The value to which the array element will be set.
Always true
Shane O'Neill
See Also:

Alphabetic index

This page was generated with the help of DOC++.