diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-11 01:18:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-11 01:23:11 +0300 |
commit | 924c6268952defd87156b8ba674c4275a29ba5df (patch) | |
tree | a9d2bc30edcbe65bf9c22aac3a44b7acb0c3b758 /source/blender/makesdna/DNA_genfile.h | |
parent | 4bcb8defb8ff954813e84eb2f53bfc0ff35d1fb3 (diff) |
DNA: remove 'long' type
Turns out even in files this was used, it was only for runtime members that are now ignored.
Diffstat (limited to 'source/blender/makesdna/DNA_genfile.h')
-rw-r--r-- | source/blender/makesdna/DNA_genfile.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_genfile.h b/source/blender/makesdna/DNA_genfile.h index 0af26fb1972..0448266330c 100644 --- a/source/blender/makesdna/DNA_genfile.h +++ b/source/blender/makesdna/DNA_genfile.h @@ -48,17 +48,15 @@ typedef enum eSDNA_Type { SDNA_TYPE_SHORT = 2, SDNA_TYPE_USHORT = 3, SDNA_TYPE_INT = 4, - SDNA_TYPE_LONG = 5, /* deprecated (use as int) */ - SDNA_TYPE_ULONG = 6, /* deprecated (use as int) */ - SDNA_TYPE_FLOAT = 7, - SDNA_TYPE_DOUBLE = 8, - /* ,SDNA_TYPE_VOID = 9 */ - SDNA_TYPE_INT64 = 10, - SDNA_TYPE_UINT64 = 11 + SDNA_TYPE_FLOAT = 5, + SDNA_TYPE_DOUBLE = 6, + /* ,SDNA_TYPE_VOID = 7 */ +/* define so switch statements don't complain */ +#define SDNA_TYPE_VOID 7 + SDNA_TYPE_INT64 = 8, + SDNA_TYPE_UINT64 = 9, } eSDNA_Type; -/* define so switch statements don't complain */ -#define SDNA_TYPE_VOID 9 struct SDNA *DNA_sdna_from_data(const void *data, const int datalen, bool do_endian_swap); void DNA_sdna_free(struct SDNA *sdna); |