Blender Git Commit Log

Git Commits -> Revision 13afc81

Revision 13afc81 by Clément Foucault (master)
July 26, 2020, 15:28 (GMT)
BLI: Add MACRO for enum usage in C++

This is handy to add support for enums used in both C and C++
files. This removes the need to typecast each time for every
operation.

Only support bitwise operators for now.

Commit Details:

Full Hash: 13afc81f6da69e36b3d503fada0760dc07f607dc
Parent Commit: a77175c
Lines Changed: +37, -0

1 Modified Path:

/source/blender/blenlib/BLI_utildefines.h (+37, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021