Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_internal.h
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| /** \file | /** \file | ||||
| * \ingroup RNA | * \ingroup RNA | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BLI_compiler_attrs.h" | #include "BLI_compiler_attrs.h" | ||||
| #include "rna_internal_types.h" | #include "rna_internal_types.h" | ||||
| #include "UI_resources.h" | #include "UI_resources.h" | ||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif | |||||
| #define RNA_MAGIC ((int)~0) | #define RNA_MAGIC ((int)~0) | ||||
| struct AssetLibraryReference; | struct AssetLibraryReference; | ||||
| struct FreestyleSettings; | struct FreestyleSettings; | ||||
| struct ID; | struct ID; | ||||
| struct IDOverrideLibrary; | struct IDOverrideLibrary; | ||||
| struct IDOverrideLibraryPropertyOperation; | struct IDOverrideLibraryPropertyOperation; | ||||
| struct IDProperty; | struct IDProperty; | ||||
| ▲ Show 20 Lines • Show All 661 Lines • ▼ Show 20 Lines | # define TYPEOF_MIN(x) \ | ||||
| _Generic((x), bool : 0, char \ | _Generic((x), bool : 0, char \ | ||||
| : CHAR_MIN, signed char \ | : CHAR_MIN, signed char \ | ||||
| : SCHAR_MIN, unsigned char : 0, signed short \ | : SCHAR_MIN, unsigned char : 0, signed short \ | ||||
| : SHRT_MIN, unsigned short : 0, signed int \ | : SHRT_MIN, unsigned short : 0, signed int \ | ||||
| : INT_MIN, unsigned int : 0, float \ | : INT_MIN, unsigned int : 0, float \ | ||||
| : -FLT_MAX, double \ | : -FLT_MAX, double \ | ||||
| : -DBL_MAX) | : -DBL_MAX) | ||||
| #endif | #endif | ||||
| #ifdef __cplusplus | |||||
| } | |||||
| #endif | |||||