From a521ad756848114b4e1be90f46b7c6799fb562f7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 May 2019 16:32:58 +1000 Subject: Cleanup: allow BLI_Buffer to be used without it's header Without this any functions declared that take BLI_Buffer also needed to include the header. --- source/blender/blenlib/BLI_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/blenlib/BLI_buffer.h b/source/blender/blenlib/BLI_buffer.h index 9f3644ed45a..6fe1e9bb693 100644 --- a/source/blender/blenlib/BLI_buffer.h +++ b/source/blender/blenlib/BLI_buffer.h @@ -21,7 +21,7 @@ * \ingroup bli */ -typedef struct { +typedef struct BLI_Buffer { void *data; const size_t elem_size; size_t count, alloc_count; -- cgit v1.2.3