diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-16 07:00:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-16 07:00:22 +0300 |
commit | 92b222a158877eeb90cc391ff8f64c133153bdf9 (patch) | |
tree | ff4ee493ccf2056523c7923ee68509973761deb4 /source/blender/makesdna/DNA_genfile.h | |
parent | 63de1e7e7a783525bbd4c2770c8454b4b0e79cc8 (diff) |
Cleanup: use enum constant for DNA comparison
Diffstat (limited to 'source/blender/makesdna/DNA_genfile.h')
-rw-r--r-- | source/blender/makesdna/DNA_genfile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_genfile.h b/source/blender/makesdna/DNA_genfile.h index 2858de74776..d62369803d6 100644 --- a/source/blender/makesdna/DNA_genfile.h +++ b/source/blender/makesdna/DNA_genfile.h @@ -65,6 +65,14 @@ typedef enum eSDNA_Type { SDNA_TYPE_UINT64 = 11 } eSDNA_Type; +/** + * For use with #DNA_struct_reconstruct & #DNA_struct_get_compareflags + */ +enum eSDNA_StructCompare { + SDNA_CMP_REMOVED = 0, + SDNA_CMP_EQUAL = 1, + SDNA_CMP_NOT_EQUAL = 2, +}; struct SDNA *DNA_sdna_from_data(const void *data, const int datalen, bool do_endian_swap); void DNA_sdna_free(struct SDNA *sdna); |