LibTiePie
0.4.2
Library for interfacing TiePie engineering instruments
|
Functions for making an array of pointers, useful for programming/scripting languages that can't handle pointers to pointers properly. More...
Functions | |
LibTiePiePointerArray_t | HlpPointerArrayNew (uint32_t dwLength) |
Create a new pointer array. | |
void | HlpPointerArrayDelete (LibTiePiePointerArray_t pArray) |
Delete an existing pointer array. | |
void | HlpPointerArraySet (LibTiePiePointerArray_t pArray, uint32_t dwIndex, void *pPointer) |
Set a pointer in a pointer array. | |
Functions for making an array of pointers, useful for programming/scripting languages that can't handle pointers to pointers properly.
Example (pseudocode):
void HlpPointerArrayDelete | ( | LibTiePiePointerArray_t | pArray | ) |
Delete an existing pointer array.
pArray | Pointer to array. |
LibTiePiePointerArray_t HlpPointerArrayNew | ( | uint32_t | dwLength | ) |
Create a new pointer array.
The pointer array is initialized with NULL
pointers.
dwLength | Length of the pointer array. |
void HlpPointerArraySet | ( | LibTiePiePointerArray_t | pArray, |
uint32_t | dwIndex, | ||
void * | pPointer | ||
) |
Set a pointer in a pointer array.
pArray | Pointer to array. |
dwIndex | Array index. |
pPointer | Pointer value to set. |