817 } |
817 } |
818 |
818 |
819 #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE |
819 #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE |
820 #define CX_LINKED_LIST_SWAP_SBO_SIZE 128 |
820 #define CX_LINKED_LIST_SWAP_SBO_SIZE 128 |
821 #endif |
821 #endif |
822 unsigned cx_linked_list_swap_sbo_size = CX_LINKED_LIST_SWAP_SBO_SIZE; |
822 const unsigned cx_linked_list_swap_sbo_size = CX_LINKED_LIST_SWAP_SBO_SIZE; |
823 |
823 |
824 static int cx_ll_swap( |
824 static int cx_ll_swap( |
825 struct cx_list_s *list, |
825 struct cx_list_s *list, |
826 size_t i, |
826 size_t i, |
827 size_t j |
827 size_t j |