// stack: inserts and removes happen at the same end // inslast: stack's action happens at the end called "last", "tail" or "back" // remelem: removes happen via an element-level operation and inserts happen via the api-provided "last"/"tail"/"back" #define BOP_TEARDOWN(lst, iters, remNo) BFX_REMOVE_LAST(B_UserItem, lst) #define BOP_INSERT(lst, iters, insNo, item) BFX_INSERT_LAST(B_UserItem, lst, (item)) #define BOP_REMOVE(lst, iters, remNo) BFX_REMOVE_HERE(B_UserItem, lst, iters[NumNodes-(remNo)-1])