Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-02-01 04:06:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-01 05:40:53 +0300
commit078e012cd9711e3d9b88bdf437f31e39518315df (patch)
tree344ef2c78c3a70ae434095f8d25055ba3ba486ab /source/blender/blenlib/BLI_buffer.h
parent0a4e170c28cecd70e7cfb776f0c22a435ecd10e9 (diff)
Cleanup: rename BLI_*_empty() -> clear()
Consistent with other BLI API's
Diffstat (limited to 'source/blender/blenlib/BLI_buffer.h')
-rw-r--r--source/blender/blenlib/BLI_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_buffer.h b/source/blender/blenlib/BLI_buffer.h
index 0c0845daf19..0d2ef0dc9b3 100644
--- a/source/blender/blenlib/BLI_buffer.h
+++ b/source/blender/blenlib/BLI_buffer.h
@@ -77,7 +77,7 @@ enum {
(BLI_buffer_at(buffer_, type_, (buffer_)->count - 1) = val_) \
)
-#define BLI_buffer_empty(buffer_) { \
+#define BLI_buffer_clear(buffer_) { \
(buffer_)->count = 0; \
} (void)0