SdsPointer can only be used with primitive items, not with structures.
If necessary (e.g. if the data originated on a machine with different architecture) the data for the object is converted (in place) from the format stored in the data item to that required for the local machine
If the data pointed to by the pointer is updated by a calling program, the program should then call the function SdsFlush to ensure that the data is updated in the original structure. This is necessary because implementations on some machine architectures may have to use a copy of the data rather than the actual data when returning a pointer.
> | id | SdsIdType | Identifier of the primitive item. |
---|---|---|---|
< | data | void** | Address of a variable to hold the pointer. |
< | length | unsigned long* | Length of the data. |
! | status | StatusType* | Modified status. Possible failure codes are: |
SDS__NOMEM | Insufficient memory for creation |
---|---|
SDS__NOTPRIM | Not a primitive item |
SDS__UNDEFINED | Data undefined, and object external |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au