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>2014-07-17 12:56:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-17 12:58:58 +0400
commit737cb8cf7c6e52ed7eef159b06df247be7d3406f (patch)
tree926c25058bb159ced721ffd4c48c3ab1dd457f74 /source/blender/blenlib/BLI_dynstr.h
parent1ce15f8efa9ad76a658711c7a231e741c734b7f5 (diff)
Use compiler attributes for more BLI libs
Diffstat (limited to 'source/blender/blenlib/BLI_dynstr.h')
-rw-r--r--source/blender/blenlib/BLI_dynstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_dynstr.h b/source/blender/blenlib/BLI_dynstr.h
index 484cddd0039..7aa1c30e449 100644
--- a/source/blender/blenlib/BLI_dynstr.h
+++ b/source/blender/blenlib/BLI_dynstr.h
@@ -54,7 +54,7 @@ void BLI_dynstr_nappend(DynStr *__restrict ds, const char *cstr, int len) ATT
void BLI_dynstr_appendf(DynStr *__restrict ds, const char *__restrict format, ...) ATTR_PRINTF_FORMAT(2, 3) ATTR_NONNULL(1, 2);
void BLI_dynstr_vappendf(DynStr *__restrict ds, const char *__restrict format, va_list args) ATTR_PRINTF_FORMAT(2, 0) ATTR_NONNULL(1, 2);
-int BLI_dynstr_get_len(DynStr *ds) ATTR_NONNULL();
+int BLI_dynstr_get_len(DynStr *ds) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
char *BLI_dynstr_get_cstring(DynStr *ds) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
void BLI_dynstr_get_cstring_ex(DynStr *__restrict ds, char *__restrict str) ATTR_NONNULL();