Blender V5.3
dna_test.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9
10#pragma once
11
14
15namespace blender {
16
17struct Library;
18struct TestStruct;
19
20/* Structure that is to be skipped from SDNA. */
21#
22#
24 int foo;
25};
26
27/* NOTE: This type must exist in order for the SDNA to be considered valid. */
28struct ListBase {
29 void *first_, *last_;
30};
31
32struct TestStruct {
33#ifdef __cplusplus
34 TestStruct() = default;
35#endif
36
37 void *next, *prev;
38
39 char name[/*MAX_ID_NAME*/ 258];
40
41 short flag;
42 int _pad1;
43
45 int tag;
46
47 int _pad2;
48};
49
56
57enum class TestEnum8 : int8_t {
58 A = 0,
59 B = 1,
60};
61
66
67enum class TestEnum32 : int32_t {
68 A = 0,
69 B = 1,
70};
71
78
79} // namespace blender
#define A
#define B
BMesh Iterators.
MatBase< float, 4, 4 > float4x4
@ TEST_ENUM16_A
Definition dna_test.h:63
@ TEST_ENUM16_B
Definition dna_test.h:64
VecBase< int32_t, 2 > int2
signed int int32_t
Definition BKE_text.h:78
VecBase< float, 3 > float3
signed char int8_t
Definition BKE_text.h:76
signed short int16_t
Definition BKE_text.h:77
ListBase some_list
Definition dna_test.h:44