Defined in carb/dictionary/IDictionary.h

typedef UpdateAction (*carb::dictionary::OnUpdateItemFn)(const Item *dstItem, ItemType dstItemType, const Item *srcItem, ItemType srcItemType, void *userData)

Function that will tell whether the merger should overwrite the destination item with the source item.

dstItem could be nullptr, meaning that the destination item doesn’t exist. This function will be triggered not only for the leaf item, but also for the intermediate eDictionary items that need to be created.

See also