// stack: inserts and removes happen at the same end // insfirst: stack's action happens at the end called "first", "head" or "front" // inselem: inserts happen via an element-level operation and removes happen via the api-provided "first"/"head"/"front" #define BOP_INIT(lst, iters, insNo, item) BFX_INSERT_FIRST(B_UserItem, lst, (item)) #define BOP_INSERT(lst, iters, insNo, item) BFX_INSERT_BEFORE(B_UserItem, lst, (item), iters[insNo-1]) #define BOP_REMOVE(lst, iters, remNo) BFX_REMOVE_FIRST(B_UserItem, lst)