From e7fd6c8f30cd1161496831859da403eaa34fdf89 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 19 Mar 2019 15:17:46 +1100 Subject: Cleanup: comment blocks --- source/blender/blenlib/BLI_math_matrix.h | 3 +-- source/blender/blenlib/BLI_mempool.h | 2 +- source/blender/blenlib/BLI_rand.h | 2 +- source/blender/blenlib/intern/math_rotation.c | 5 ++--- source/blender/blenlib/intern/string_utf8.c | 10 +++++----- 5 files changed, 10 insertions(+), 12 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index 4e897ace95c..8e35b197e14 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -15,9 +15,8 @@ * * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. * All rights reserved. - - * The Original Code is: some of this file. * + * The Original Code is: some of this file. * */ #ifndef __BLI_MATH_MATRIX_H__ diff --git a/source/blender/blenlib/BLI_mempool.h b/source/blender/blenlib/BLI_mempool.h index 31bd93544b0..f14b6f94a5e 100644 --- a/source/blender/blenlib/BLI_mempool.h +++ b/source/blender/blenlib/BLI_mempool.h @@ -57,7 +57,7 @@ void *BLI_mempool_as_arrayN(BLI_mempool *pool, const char *allocstr) ATTR_ void BLI_mempool_set_memory_debug(void); #endif -/** iteration stuff. note: this may easy to produce bugs with **/ +/** iteration stuff. note: this may easy to produce bugs with */ /* private structure */ typedef struct BLI_mempool_iter { BLI_mempool *pool; diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h index fd078ae3a36..2c6c8266eae 100644 --- a/source/blender/blenlib/BLI_rand.h +++ b/source/blender/blenlib/BLI_rand.h @@ -87,7 +87,7 @@ RNG_THREAD_ARRAY *BLI_rng_threaded_new(void); void BLI_rng_threaded_free(struct RNG_THREAD_ARRAY *rngarr) ATTR_NONNULL(1); int BLI_rng_thread_rand(RNG_THREAD_ARRAY *rngarr, int thread) ATTR_WARN_UNUSED_RESULT; -/** Low-discrepancy sequences **/ +/* Low-discrepancy sequences. */ /** Return the _n_th number of the given low-discrepancy sequence. */ void BLI_halton_1D(unsigned int prime, double offset, int n, double *r); diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c index 53c7d5e6576..a348edaece8 100644 --- a/source/blender/blenlib/intern/math_rotation.c +++ b/source/blender/blenlib/intern/math_rotation.c @@ -15,10 +15,9 @@ * * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. * All rights reserved. - - * The Original Code is: some of this file. * - * */ + * The Original Code is: some of this file. + */ /** \file * \ingroup bli diff --git a/source/blender/blenlib/intern/string_utf8.c b/source/blender/blenlib/intern/string_utf8.c index d4b4bba810c..12ada9b6fd9 100644 --- a/source/blender/blenlib/intern/string_utf8.c +++ b/source/blender/blenlib/intern/string_utf8.c @@ -519,7 +519,7 @@ int BLI_str_utf8_size_safe(const char *p) * instead. * * Return value: the resulting character - **/ + */ uint BLI_str_utf8_as_unicode(const char *p) { int i, len; @@ -625,7 +625,7 @@ uint BLI_str_utf8_as_unicode_step(const char *__restrict p, size_t *__restrict i * Converts a single character to UTF-8. * * \return number of bytes written - **/ + */ size_t BLI_str_utf8_from_unicode(uint c, char *outbuf) { /* If this gets modified, also update the copy in g_string_insert_unichar() */ @@ -684,7 +684,7 @@ size_t BLI_str_utf8_from_unicode(uint c, char *outbuf) * it starts with an appropriate byte. * * Return value: a pointer to the found character or %NULL. - **/ + */ char *BLI_str_find_prev_char_utf8(const char *str, const char *p) { for (--p; p >= str; --p) { @@ -709,7 +709,7 @@ char *BLI_str_find_prev_char_utf8(const char *str, const char *p) * it starts with an appropriate byte. * * Return value: a pointer to the found character or %NULL - **/ + */ char *BLI_str_find_next_char_utf8(const char *p, const char *end) { if (*p) { @@ -740,7 +740,7 @@ char *BLI_str_find_next_char_utf8(const char *p, const char *end) * character of the string, you must use g_utf8_find_prev_char() instead. * * Return value: a pointer to the found character. - **/ + */ char *BLI_str_prev_char_utf8(const char *p) { while (1) { -- cgit v1.2.3