Blender V4.3
DNA_sdna_types.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
8#pragma once
9
10struct MemArena;
11
12#
13#
22
23#
24#
35
36#
37#
38typedef struct SDNA {
40 const char *data;
44
47
48 /* ***** Start of SDNA types. ***** */
60 const char **types;
62 short *types_size;
69 /* ***** End of SDNA types. ***** */
70
71 /* ***** Start of SDNA structs. ***** */
82 /* ***** End of SDNA structs. ***** */
83
84 /* ***** Start of SDNA struct members. ***** */
95 const char **members;
103 /* ***** End of SDNA struct members. ***** */
104
112
121 struct {
123 const char **types;
125 const char **members;
127 struct GHash *types_to_structs_map;
129
133
141#define SDNA_RAW_DATA_STRUCT_INDEX 0
142
143#
144#
145typedef struct BHead {
146 int code, len;
147 const void *old;
148 int SDNAnr, nr;
150#
151#
152typedef struct BHead4 {
153 int code, len;
155 int SDNAnr, nr;
157#
158#
159typedef struct BHead8 {
160 int code, len;
162 int SDNAnr, nr;
unsigned int uint
struct SDNA SDNA
struct BHead BHead
struct BHead4 BHead4
struct SDNA_StructMember SDNA_StructMember
struct BHead8 BHead8
struct SDNA_Struct SDNA_Struct
static char ** types
Definition makesdna.cc:71
static char ** members
Definition makesdna.cc:69
unsigned __int64 uint64_t
Definition stdint.h:90
uint64_t old
const void * old
SDNA_StructMember members[]
struct GHash * types_to_structs_map
const char ** members
int types_num
int structs_num
struct SDNA::@1177 alias
short * types_size
SDNA_Struct ** structs
int * types_alignment
struct MemArena * mem_arena
int members_num
int members_num_alloc
const char ** types
int pointer_size
const char * data
bool data_alloc
short * members_array_num
int data_size