diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-30 09:26:42 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-30 10:01:22 +0300 |
commit | a8ec7845e0bdb9e63e9d3dbd7f4cd7caad36b5a2 (patch) | |
tree | 4531232281ddc4cda4df3fb1ccc0822018fe5682 /source/blender/blenlib/BLI_path_util.h | |
parent | af3aaf80344e745e6c207102941513cb631194c3 (diff) |
Cleanup: use "num" as a suffix in: source/blender/blenlib
Also replace "num" with:
- "number" when it's not used to denote the number of items.
- "digits" when digits in a string are being manipulated.
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r-- | source/blender/blenlib/BLI_path_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h index 7b3e3e983f0..06dd9ab0db9 100644 --- a/source/blender/blenlib/BLI_path_util.h +++ b/source/blender/blenlib/BLI_path_util.h @@ -204,12 +204,12 @@ bool BLI_path_filename_ensure(char *filepath, size_t maxlen, const char *filenam * or before dot if no digits. * \param tail: Optional area to return copy of part of string following digits, * or from dot if no digits. - * \param r_num_len: Optional to return number of digits found. + * \param r_digits_len: Optional to return number of digits found. */ int BLI_path_sequence_decode(const char *string, char *head, char *tail, - unsigned short *r_num_len); + unsigned short *r_digits_len); /** * Returns in area pointed to by string a string of the form `<head><pic><tail>`, * where pic is formatted as `numlen` digits with leading zeroes. @@ -310,7 +310,7 @@ bool BLI_path_frame_range(char *path, int sta, int end, int digits) ATTR_NONNULL /** * Get the frame from a filename formatted by blender's frame scheme */ -bool BLI_path_frame_get(char *path, int *r_frame, int *numdigits) ATTR_NONNULL(); +bool BLI_path_frame_get(char *path, int *r_frame, int *r_digits_len) ATTR_NONNULL(); /** * Given a `path` with digits representing frame numbers, replace the digits with the '#' * character and extract the extension. |