src/cx/linked_list.h

changeset 807
c8d692131b1e
parent 764
ccbdbd088455
equal deleted inserted replaced
806:e06249e09f99 807:c8d692131b1e
43 #ifdef __cplusplus 43 #ifdef __cplusplus
44 extern "C" { 44 extern "C" {
45 #endif 45 #endif
46 46
47 /** 47 /**
48 * Set this flag to true, if you want to disable the use of SBO for 48 * The maximum item size that uses SBO swap instead of relinking.
49 * linked list swap operations. 49 */
50 */ 50 extern unsigned cx_linked_list_swap_sbo_size;
51 extern bool CX_DISABLE_LINKED_LIST_SWAP_SBO;
52 51
53 /** 52 /**
54 * Allocates a linked list for storing elements with \p item_size bytes each. 53 * Allocates a linked list for storing elements with \p item_size bytes each.
55 * 54 *
56 * If \p item_size is CX_STORE_POINTERS, the created list will be created as if 55 * If \p item_size is CX_STORE_POINTERS, the created list will be created as if

mercurial