Cleanup: add descriptions to the IDRemapperApplyOptions.

This commit is contained in:
Jeroen Bakker
2022-02-11 12:38:28 +01:00
parent 2d231f837a
commit a816eaa1ce

View File

@@ -159,7 +159,17 @@ typedef enum IDRemapperApplyResult {
} IDRemapperApplyResult;
typedef enum IDRemapperApplyOptions {
/**
* Update the user count of the old and new ID datablock.
*
* For remapping the old ID users will be decremented and the new ID users will be
* incremented. When un-assigning the old ID users will be decremented.
*/
ID_REMAP_APPLY_UPDATE_REFCOUNT = (1 << 0),
/**
* Make sure that the new ID datablock will have a 'real' user.
*/
ID_REMAP_APPLY_ENSURE_REAL = (1 << 1),
ID_REMAP_APPLY_DEFAULT = 0,