Blender
V3.3
source
blender
makesdna
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
;
24
}
SDNA_StructMember
;
25
26
#
27
#
28
typedef
struct
SDNA_Struct
{
32
short
type
;
34
short
members_len
;
36
SDNA_StructMember
members
[];
37
}
SDNA_Struct
;
38
39
#
40
#
41
typedef
struct
SDNA
{
43
const
char
*
data
;
45
int
data_len
;
46
bool
data_alloc
;
47
49
int
names_len
,
names_len_alloc
;
51
const
char
**
names
;
53
short
*
names_array_len
;
54
56
int
pointer_size
;
57
59
const
char
**
types
;
61
int
types_len
;
62
64
short
*
types_size
;
65
67
SDNA_Struct
**
structs
;
69
int
structs_len
;
70
72
struct
GHash
*
structs_map
;
73
75
struct
MemArena
*
mem_arena
;
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
;
94
}
BHead
;
95
#
96
#
97
typedef
struct
BHead4
{
98
int
code
,
len
;
99
uint
old
;
100
int
SDNAnr
,
nr
;
101
}
BHead4
;
102
#
103
#
104
typedef
struct
BHead8
{
105
int
code
,
len
;
106
uint64_t
old
;
107
int
SDNAnr
,
nr
;
108
}
BHead8
;
109
110
#ifdef __cplusplus
111
}
112
#endif
uint
unsigned int uint
Definition:
BLI_sys_types.h:67
SDNA
struct SDNA SDNA
BHead
struct BHead BHead
BHead4
struct BHead4 BHead4
SDNA_StructMember
struct SDNA_StructMember SDNA_StructMember
BHead8
struct BHead8 BHead8
SDNA_Struct
struct SDNA_Struct SDNA_Struct
uint64_t
unsigned __int64 uint64_t
Definition:
stdint.h:90
BHead4
Definition:
DNA_sdna_types.h:97
BHead4::SDNAnr
int SDNAnr
Definition:
DNA_sdna_types.h:100
BHead4::len
int len
Definition:
DNA_sdna_types.h:98
BHead4::nr
int nr
Definition:
DNA_sdna_types.h:100
BHead4::old
uint old
Definition:
DNA_sdna_types.h:99
BHead4::code
int code
Definition:
DNA_sdna_types.h:98
BHead8
Definition:
DNA_sdna_types.h:104
BHead8::code
int code
Definition:
DNA_sdna_types.h:105
BHead8::len
int len
Definition:
DNA_sdna_types.h:105
BHead8::old
uint64_t old
Definition:
DNA_sdna_types.h:106
BHead8::nr
int nr
Definition:
DNA_sdna_types.h:107
BHead8::SDNAnr
int SDNAnr
Definition:
DNA_sdna_types.h:107
BHead
Definition:
DNA_sdna_types.h:90
BHead::nr
int nr
Definition:
DNA_sdna_types.h:93
BHead::SDNAnr
int SDNAnr
Definition:
DNA_sdna_types.h:93
BHead::code
int code
Definition:
DNA_sdna_types.h:91
BHead::old
const void * old
Definition:
DNA_sdna_types.h:92
BHead::len
int len
Definition:
DNA_sdna_types.h:91
GHash
Definition:
BLI_ghash.c:83
MemArena
Definition:
BLI_memarena.c:40
SDNA_StructMember
Definition:
DNA_sdna_types.h:17
SDNA_StructMember::name
short name
Definition:
DNA_sdna_types.h:23
SDNA_StructMember::type
short type
Definition:
DNA_sdna_types.h:21
SDNA_Struct
Definition:
DNA_sdna_types.h:28
SDNA_Struct::type
short type
Definition:
DNA_sdna_types.h:32
SDNA_Struct::members_len
short members_len
Definition:
DNA_sdna_types.h:34
SDNA_Struct::members
SDNA_StructMember members[]
Definition:
DNA_sdna_types.h:36
SDNA
Definition:
DNA_sdna_types.h:41
SDNA::types_len
int types_len
Definition:
DNA_sdna_types.h:61
SDNA::structs_map
struct GHash * structs_map
Definition:
DNA_sdna_types.h:72
SDNA::names_array_len
short * names_array_len
Definition:
DNA_sdna_types.h:53
SDNA::structs_len
int structs_len
Definition:
DNA_sdna_types.h:69
SDNA::types_size
short * types_size
Definition:
DNA_sdna_types.h:64
SDNA::names_len_alloc
int names_len_alloc
Definition:
DNA_sdna_types.h:49
SDNA::structs
SDNA_Struct ** structs
Definition:
DNA_sdna_types.h:67
SDNA::names_len
int names_len
Definition:
DNA_sdna_types.h:49
SDNA::alias
struct SDNA::@1048 alias
SDNA::data_len
int data_len
Definition:
DNA_sdna_types.h:45
SDNA::mem_arena
struct MemArena * mem_arena
Definition:
DNA_sdna_types.h:75
SDNA::types
const char ** types
Definition:
DNA_sdna_types.h:59
SDNA::pointer_size
int pointer_size
Definition:
DNA_sdna_types.h:56
SDNA::data
const char * data
Definition:
DNA_sdna_types.h:43
SDNA::data_alloc
bool data_alloc
Definition:
DNA_sdna_types.h:46
SDNA::names
const char ** names
Definition:
DNA_sdna_types.h:51
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1