- the commodity object the priority of which to change (may be NULL)
pri
- the new priority to give the object (priorities range from -128 to 127, a value of 0 is normal)
RESULT
The old priority, that is the priority of the object prior to this operation.
EXAMPLE
SEE ALSO
EnqueueCxObj()
NOTES
BUGS
When using this function, the object is NOT repositioned according to the priority given. To achive this, remove the object from the commodity hierarchy using RemoveCxObj(), use SetCxPri() and reinsert it with EnqueueCxObj().