Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_ID.h
| Show First 20 Lines • Show All 334 Lines • ▼ Show 20 Lines | |||||
| #define PRV_DEFERRED_DATA(prv) \ | #define PRV_DEFERRED_DATA(prv) \ | ||||
| (CHECK_TYPE_INLINE(prv, PreviewImage *), BLI_assert((prv)->tag & PRV_TAG_DEFFERED), (void *)((prv) + 1)) | (CHECK_TYPE_INLINE(prv, PreviewImage *), BLI_assert((prv)->tag & PRV_TAG_DEFFERED), (void *)((prv) + 1)) | ||||
| /** | /** | ||||
| * Defines for working with IDs. | * Defines for working with IDs. | ||||
| * | * | ||||
| * The tags represent types! This is a dirty way of enabling RTTI. The | * The tags represent types! This is a dirty way of enabling RTTI. The | ||||
| * sig_byte end endian defines aren't really used much. | * sig_byte end endian defines aren't really used much. | ||||
| * | */ | ||||
| **/ | |||||
| #ifdef __BIG_ENDIAN__ | #ifdef __BIG_ENDIAN__ | ||||
| /* big endian */ | /* big endian */ | ||||
| # define MAKE_ID2(c, d) ((c) << 8 | (d)) | # define MAKE_ID2(c, d) ((c) << 8 | (d)) | ||||
| #else | #else | ||||
| /* little endian */ | /* little endian */ | ||||
| # define MAKE_ID2(c, d) ((d) << 8 | (c)) | # define MAKE_ID2(c, d) ((d) << 8 | (c)) | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 345 Lines • Show Last 20 Lines | |||||