Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-12-23 08:40:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-23 08:40:07 +0400
commit27b47892a029d8734d42cc121402155f912102d9 (patch)
tree7ca0082a6683792a7ba50f0ae1489c219586d400 /source/blender/makesdna/DNA_genfile.h
parent3cce96320e9e7dcacfde7b92c110482500661f14 (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.h8
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);