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>2021-12-14 10:35:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-14 10:35:23 +0300
commita207c1cdaf11864a413c5de3ade93f85a592b3cb (patch)
tree658b0676ffbaea37c9ec98689bdba8de5eae1d11 /source/blender/blenlib
parentc097c7b855d4b01950494dc369e9def59486b0fd (diff)
Cleanup: resolve parameter mis-matches in doc-strings
Renamed or removed parameters which no longer exist.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_math_rotation.h2
-rw-r--r--source/blender/blenlib/BLI_memiter.h2
-rw-r--r--source/blender/blenlib/BLI_string.h2
-rw-r--r--source/blender/blenlib/BLI_string_utf8.h4
-rw-r--r--source/blender/blenlib/BLI_string_utils.h2
-rw-r--r--source/blender/blenlib/BLI_timecode.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h
index 9ff841f612f..5e72d502262 100644
--- a/source/blender/blenlib/BLI_math_rotation.h
+++ b/source/blender/blenlib/BLI_math_rotation.h
@@ -118,7 +118,7 @@ bool is_zero_qt(const float q[4]);
* \param cosom: dot product from normalized vectors/quats.
* \param r_w: calculated weights.
*/
-void interp_dot_slerp(const float t, const float cosom, float w[2]);
+void interp_dot_slerp(const float t, const float cosom, float r_w[2]);
void interp_qt_qtqt(float q[4], const float a[4], const float b[4], const float t);
void add_qt_qtqt(float q[4], const float a[4], const float b[4], const float t);
diff --git a/source/blender/blenlib/BLI_memiter.h b/source/blender/blenlib/BLI_memiter.h
index 6421a6eb6d6..231aa31fad9 100644
--- a/source/blender/blenlib/BLI_memiter.h
+++ b/source/blender/blenlib/BLI_memiter.h
@@ -44,7 +44,7 @@ typedef struct BLI_memiter BLI_memiter;
*
* Its intended that many elements can be stored per chunk.
*/
-BLI_memiter *BLI_memiter_create(unsigned int chunk_size)
+BLI_memiter *BLI_memiter_create(unsigned int chunk_size_min)
ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL;
void *BLI_memiter_alloc(BLI_memiter *mi, unsigned int size)
/* WARNING: `ATTR_MALLOC` attribute on #BLI_memiter_alloc causes crash, see: D2756. */
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h
index 6a39d0a4215..91cc7b23a5f 100644
--- a/source/blender/blenlib/BLI_string.h
+++ b/source/blender/blenlib/BLI_string.h
@@ -176,7 +176,7 @@ char *BLI_str_replaceN(const char *__restrict str,
* \param src: The character to replace.
* \param dst: The character to replace with.
*/
-void BLI_str_replace_char(char *string, char src, char dst) ATTR_NONNULL();
+void BLI_str_replace_char(char *str, char src, char dst) ATTR_NONNULL();
/**
* Simple exact-match string replacement.
diff --git a/source/blender/blenlib/BLI_string_utf8.h b/source/blender/blenlib/BLI_string_utf8.h
index 17a41b2cccf..72bddb322db 100644
--- a/source/blender/blenlib/BLI_string_utf8.h
+++ b/source/blender/blenlib/BLI_string_utf8.h
@@ -125,8 +125,8 @@ size_t BLI_str_utf32_as_utf8_len(const char32_t *src) ATTR_WARN_UNUSED_RESULT AT
/**
* BLI_str_find_prev_char_utf8:
- * \param str: pointer to the beginning of a UTF-8 encoded string
* \param p: pointer to some position within \a str
+ * \param str_start: pointer to the beginning of a UTF-8 encoded string
*
* Given a position \a p with a UTF-8 encoded string \a str, find the start
* of the previous UTF-8 character starting before. \a p Returns \a str_start if no
@@ -142,7 +142,7 @@ const char *BLI_str_find_prev_char_utf8(const char *p, const char *str_start)
ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL ATTR_NONNULL(1, 2);
/**
* \param p: a pointer to a position within a UTF-8 encoded string
- * \param end: a pointer to the byte following the end of the string.
+ * \param str_end: a pointer to the byte following the end of the string.
*
* Finds the start of the next UTF-8 character in the string after \a p
*
diff --git a/source/blender/blenlib/BLI_string_utils.h b/source/blender/blenlib/BLI_string_utils.h
index 07fd4882513..ce4d0afb933 100644
--- a/source/blender/blenlib/BLI_string_utils.h
+++ b/source/blender/blenlib/BLI_string_utils.h
@@ -163,7 +163,7 @@ bool BLI_uniquename(struct ListBase *list,
const char *defname,
char delim,
int name_offset,
- size_t len);
+ size_t name_len);
#ifdef __cplusplus
}
diff --git a/source/blender/blenlib/BLI_timecode.h b/source/blender/blenlib/BLI_timecode.h
index 768b9a896b0..4eec8aef245 100644
--- a/source/blender/blenlib/BLI_timecode.h
+++ b/source/blender/blenlib/BLI_timecode.h
@@ -45,7 +45,7 @@ size_t BLI_timecode_string_from_time(char *str,
const size_t maxncpy,
const int brevity_level,
const float time_seconds,
- const double scene_fps,
+ const double fps,
const short timecode_style) ATTR_NONNULL();
/**