libpointer
Creates an C pointer object usuable in Nelson.
Syntax
ptr = libpointer()
ptr = libpointer(datatype)
ptr = libpointer(datatype, value)
Input argument
datatype - a string: data type.
value - a nelson variable compatible with datatype.
Output argument
ptr - a libpointer handle.
Description
This is an advanced feature to manipulate C pointers.
ptr = libpointer() creates an NULL pointer.
Examples
See also
C/Nelson equivalent data types, isNull, libpointer.reshape, libpointer.setdatatype.
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated