Files | |
| file | psScalar.h |
| Contains basic scalar definitions and operations. | |
Data Structures | |
| struct | psScalar |
| Basic scalar data structure. More... | |
Functions | |
| psScalar * | psScalarAlloc (complex value, psElemType type) |
| Allocate a scalar. | |
| bool | psMemCheckScalar (psPtr ptr) |
| Checks the type of a particular pointer. | |
| psScalar * | psScalarCopy (const psScalar *value) |
| Copy a scalar. | |
|
|
Checks the type of a particular pointer. Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
|
|
||||||||||||
|
Allocate a scalar. Uses psLib memory allocation functions to create scalar data as defined by the psType type. Accepts a complex 64 bit float for input value, as max size, but resizes according to correct type.
|
|
|
Copy a scalar. Uses psLib memory allocation functions to copy a scalar.
|
1.4.2