diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_idtype.h')
-rw-r--r-- | source/blender/blenkernel/BKE_idtype.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_idtype.h b/source/blender/blenkernel/BKE_idtype.h index 30f7ed45859..256ddec5505 100644 --- a/source/blender/blenkernel/BKE_idtype.h +++ b/source/blender/blenkernel/BKE_idtype.h @@ -85,7 +85,7 @@ typedef void (*IDTypeForeachCacheFunction)(struct ID *id, typedef void (*IDTypeForeachPathFunction)(struct ID *id, struct BPathForeachPathData *bpath_data); -typedef struct ID *(*IDTypeEmbeddedOwnerGetFunction)(struct Main *bmain, struct ID *id); +typedef struct ID **(*IDTypeEmbeddedOwnerPointerGetFunction)(struct ID *id); typedef void (*IDTypeBlendWriteFunction)(struct BlendWriter *writer, struct ID *id, @@ -109,7 +109,7 @@ typedef struct IDTypeInfo { */ short id_code; /** - * Bitflag matching id_code, used for filtering (e.g. in file browser), see DNA_ID.h's + * Bit-flag matching id_code, used for filtering (e.g. in file browser), see DNA_ID.h's * FILTER_ID_XX enums. */ uint64_t id_filter; @@ -180,9 +180,9 @@ typedef struct IDTypeInfo { IDTypeForeachPathFunction foreach_path; /** - * For embedded IDs, return their owner ID. + * For embedded IDs, return the address of the pointer to their owner ID. */ - IDTypeEmbeddedOwnerGetFunction owner_get; + IDTypeEmbeddedOwnerPointerGetFunction owner_pointer_get; /* ********** Callbacks for reading and writing .blend files. ********** */ |