Blender V5.0
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 */
7
8#pragma once
9
10#include "BLI_sys_types.h"
11
12struct MemArena;
13
14#
15#
24
25#
26#
37
38#
39#
40typedef struct SDNA {
42 const char *data;
46
49
50 /* ***** Start of SDNA types. ***** */
62 const char **types;
64 short *types_size;
71 /* ***** End of SDNA types. ***** */
72
73 /* ***** Start of SDNA structs. ***** */
84 /* ***** End of SDNA structs. ***** */
85
86 /* ***** Start of SDNA struct members. ***** */
97 const char **members;
105 /* ***** End of SDNA struct members. ***** */
106
114
123 struct {
125 const char **types;
127 const char **members;
131
135
143#define SDNA_RAW_DATA_STRUCT_INDEX 0
SDNA_StructMember members[]
struct GHash * types_to_structs_map
const char ** members
int types_num
int structs_num
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
struct SDNA::@324261063051035105003300060127223210155361202367 alias
bool data_alloc
short * members_array_num
int data_size