Blender  V3.3
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. */
26 
27 #ifdef __cplusplus
28 }
29 #endif
struct SessionUUID SessionUUID
unsigned __int64 uint64_t
Definition: stdint.h:90