In V5.32 API Doc we have the following :
Actually on succes SWIPELIST_AddItem also returns 0.
- SWIPELIST_AddItem Return value 1 on success, otherwise 0.
- SWIPELIST_AddItemText Return value 0 on success, otherwise 1
Actually on succes SWIPELIST_AddItem also returns 0.