BLI_string: Add STR_ELEM macro
authorCampbell Barton <ideasman42@gmail.com>
Wed, 10 Apr 2019 07:24:40 +0000 (09:24 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 10 Apr 2019 07:25:53 +0000 (09:25 +0200)
commit54af7cbf4b16fd6585baba227b604768c86745a2
treea322391bbbcf32aea97f46feb49f0e8eb3095a6c
parent55c152164f825d9d0fa15dcdd3806818e48c7075
BLI_string: Add STR_ELEM macro

A string comparison version of the ELEM macro,
add to avoid verbose & repetitive strcmp/STREQ usage.
source/blender/blenlib/BLI_string.h