Blender
V3.3
source
blender
makesdna
DNA_session_uuid_types.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
7
#pragma once
8
9
#include "
BLI_sys_types.h
"
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
/* Is a structure because of the following considerations:
16
*
17
* - It is not possible to use custom types in DNA members: makesdna does not recognize them.
18
* - It allows to add more bits, more than standard fixed-size types can store. For example, if
19
* we ever need to go 128 bits, it is as simple as adding extra 64bit field.
20
*/
21
typedef
struct
SessionUUID
{
22
/* Never access directly, as it might cause a headache when more bits are needed: if the field
23
* is used directly it will not be easy to find all places where partial access is used. */
24
uint64_t
uuid_
;
25
}
SessionUUID
;
26
27
#ifdef __cplusplus
28
}
29
#endif
BLI_sys_types.h
SessionUUID
struct SessionUUID SessionUUID
uint64_t
unsigned __int64 uint64_t
Definition:
stdint.h:90
SessionUUID
Definition:
DNA_session_uuid_types.h:21
SessionUUID::uuid_
uint64_t uuid_
Definition:
DNA_session_uuid_types.h:24
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1