/* SPDX-License-Identifier: GPL-2.0-or-later */ /** \file * \ingroup DNA */ #pragma once #include "BLI_sys_types.h" #ifdef __cplusplus extern "C" { #endif /* Is a structure because of the following considerations: * * - It is not possible to use custom types in DNA members: makesdna does not recognize them. * - It allows to add more bits, more than standard fixed-size types can store. For example, if * we ever need to go 128 bits, it is as simple as adding extra 64bit field. */ typedef struct SessionUUID { /* Never access directly, as it might cause a headache when more bits are needed: if the field * is used directly it will not be easy to find all places where partial access is used. */ uint64_t uuid_; } SessionUUID; #ifdef __cplusplus } #endif