SdsFlush - Flush data updated via a pointer

Function

Flush data updated via a pointer

Description

If a primitive data item is accessed via SdsPointer, and the data array updated via the returned pointer, then SdsFlush must be called to ensure that the data is updated in the original structure.

This must be done since implementations on some machine architectures may have to use a copy of the data rather than the actual data when returning a pointer.

Language

C

Declaration

void SdsFlush(SdsIdType id, StatusType * SDSCONST status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>idSdsIdTypeIdentifier of the primitive item.
!statusStatusType*Modified status. Possible failure codes are:

SDS__BADID Identifier invalid
SDS__NOTPRIM Not a primitive item

Support

Jeremy Bailey, {AAO}

Version date

7-Feb-92

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tony.farrell@mq.edu.au