Blender  V3.3
DNA_sdna_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
7 #pragma once
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 struct MemArena;
14 
15 #
16 #
17 typedef struct SDNA_StructMember {
21  short type;
23  short name;
25 
26 #
27 #
28 typedef struct SDNA_Struct {
32  short type;
34  short members_len;
38 
39 #
40 #
41 typedef struct SDNA {
43  const char *data;
45  int data_len;
46  bool data_alloc;
47 
51  const char **names;
54 
57 
59  const char **types;
61  int types_len;
62 
64  short *types_size;
65 
70 
72  struct GHash *structs_map;
73 
78  struct {
80  const char **names;
82  const char **types;
84  struct GHash *structs_map;
85  } alias;
86 } SDNA;
87 
88 #
89 #
90 typedef struct BHead {
91  int code, len;
92  const void *old;
93  int SDNAnr, nr;
95 #
96 #
97 typedef struct BHead4 {
98  int code, len;
100  int SDNAnr, nr;
102 #
103 #
104 typedef struct BHead8 {
105  int code, len;
107  int SDNAnr, nr;
109 
110 #ifdef __cplusplus
111 }
112 #endif
unsigned int uint
Definition: BLI_sys_types.h:67
struct SDNA SDNA
struct BHead BHead
struct BHead4 BHead4
struct SDNA_StructMember SDNA_StructMember
struct BHead8 BHead8
struct SDNA_Struct SDNA_Struct
unsigned __int64 uint64_t
Definition: stdint.h:90
uint old
uint64_t old
int SDNAnr
int code
const void * old
short members_len
SDNA_StructMember members[]
int types_len
struct GHash * structs_map
short * names_array_len
int structs_len
short * types_size
int names_len_alloc
SDNA_Struct ** structs
int names_len
struct SDNA::@1048 alias
int data_len
struct MemArena * mem_arena
const char ** types
int pointer_size
const char * data
bool data_alloc
const char ** names