FUNCTION SMC_GetObjFromEnd : POINTER TO SMC_GEOINFO
Returns a pointer to the n-last object (start counting from the end) of the queue (poq). For N=0 the last element in the list will be returned.
task-safety: may be called from both tasks; the result however may be invalid: In case of the producer task, the output may no longer be part of the queue, in case of the consumer task, the output may no longer be the last element.
InOut: |
|