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>2015-06-30 07:47:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-30 07:47:31 +0300
commit8bef305b6d6628d9d0cd9b8e8765108842fddc5b (patch)
treebb364cf7a6e7b1cffe6d3ae6dcd10584097b0354 /source/blender/blenlib/BLI_timecode.h
parent56ca7f34dd602208880a41de6923fa71ebf83a29 (diff)
Cleanup: move BLI_timestr to BLI_timecode
Diffstat (limited to 'source/blender/blenlib/BLI_timecode.h')
-rw-r--r--source/blender/blenlib/BLI_timecode.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_timecode.h b/source/blender/blenlib/BLI_timecode.h
index b6cd0117bf5..8f88b555095 100644
--- a/source/blender/blenlib/BLI_timecode.h
+++ b/source/blender/blenlib/BLI_timecode.h
@@ -31,11 +31,19 @@
* \ingroup BLI
*/
+#include "BLI_compiler_attrs.h"
+
size_t BLI_timecode_string_from_time(
char *str, const size_t len, const int power, const float time_seconds,
- const double scene_fps, const short timecode_style);
+ const double scene_fps, const short timecode_style)
+ ATTR_NONNULL();
size_t BLI_timecode_string_from_time_simple(
- char *str, const size_t len, const int power, const float time_seconds);
+ char *str, size_t maxlen, double time_seconds)
+ ATTR_NONNULL();
+
+size_t BLI_timecode_string_from_time_seconds(
+ char *str, const size_t len, const int power, const float time_seconds)
+ ATTR_NONNULL();
#endif /* __BLI_TIMECODE_H__ */