diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-23 08:40:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-23 08:40:07 +0400 |
commit | 27b47892a029d8734d42cc121402155f912102d9 (patch) | |
tree | 7ca0082a6683792a7ba50f0ae1489c219586d400 /source/blender/makesdna/DNA_genfile.h | |
parent | 3cce96320e9e7dcacfde7b92c110482500661f14 (diff) |
add DNA support for int64_t. nothing uses this currently.
Diffstat (limited to 'source/blender/makesdna/DNA_genfile.h')
-rw-r--r-- | source/blender/makesdna/DNA_genfile.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_genfile.h b/source/blender/makesdna/DNA_genfile.h index 1ca669836ac..83292d3d8f8 100644 --- a/source/blender/makesdna/DNA_genfile.h +++ b/source/blender/makesdna/DNA_genfile.h @@ -47,10 +47,14 @@ typedef enum eSDNA_Type { SDNA_TYPE_LONG = 5, SDNA_TYPE_ULONG = 6, SDNA_TYPE_FLOAT = 7, - SDNA_TYPE_DOUBLE = 8 - /* ,SDNA_TYPE_VOID = 9 */ /* nothing uses yet */ + SDNA_TYPE_DOUBLE = 8, + SDNA_TYPE_INT64 = 9 + /* ,SDNA_TYPE_VOID = 10 */ /* nothing uses yet */ } eSDNA_Type; +/* define so switch statements don't complain */ +#define SDNA_TYPE_VOID 10 + struct SDNA *DNA_sdna_from_data(void *data, int datalen, int do_endian_swap); void DNA_sdna_free(struct SDNA *sdna); |