Changes to how negative indices passed to queue_item_add API are handled. Previously, pos=-1 would add the new element to the position previous to last. Now the new element will be added to the back of the queue if pos=-1, to the position previous to last if pos=-2 etc. Now pos specifies the position of the added element in cases of both positive and negative indices. The changes will not break existing code unless negative indices are used to add new items in the queue.
Summary of Changes for Release Notes
Fixed
Fixed handling of negative item indices by queue_item_add API (pos=-1 now adds an item to the back of the queue).
Changes to how negative indices passed to
queue_item_add
API are handled. Previously,pos=-1
would add the new element to the position previous to last. Now the new element will be added to the back of the queue ifpos=-1
, to the position previous to last ifpos=-2
etc. Nowpos
specifies the position of the added element in cases of both positive and negative indices. The changes will not break existing code unless negative indices are used to add new items in the queue.Summary of Changes for Release Notes
Fixed
queue_item_add
API (pos=-1
now adds an item to the back of the queue).Added
Changed
Removed
How Has This Been Tested?