diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 07:47:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 07:47:31 +0300 |
commit | 8bef305b6d6628d9d0cd9b8e8765108842fddc5b (patch) | |
tree | bb364cf7a6e7b1cffe6d3ae6dcd10584097b0354 /source/blender/blenlib/BLI_timecode.h | |
parent | 56ca7f34dd602208880a41de6923fa71ebf83a29 (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.h | 12 |
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__ */ |