From d2cab3e8b002ab5c8843190f736c883f35cd6452 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 Feb 2012 20:27:19 +0000 Subject: move bmesh wiki docs into bmesh header and update doxygen. also have doxygen ignore *.py files and fix some warnings. --- source/blender/blenlib/intern/md5.c | 3 ++- source/blender/blenlib/intern/path_util.c | 1 + source/blender/blenlib/intern/string_utf8.c | 24 ++++++++++++------------ 3 files changed, 15 insertions(+), 13 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/md5.c b/source/blender/blenlib/intern/md5.c index 25582a5f750..a521d0e523b 100644 --- a/source/blender/blenlib/intern/md5.c +++ b/source/blender/blenlib/intern/md5.c @@ -1,6 +1,7 @@ -/** \file blender/imbuf/intern/md5.c +/** \file blender/blenlib/intern/md5.c * \ingroup imbuf */ + /* md5.c - Functions to compute MD5 message digest of files or memory blocks according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995 Software Foundation, Inc. diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index e79490b29fd..18f7767c303 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1855,6 +1855,7 @@ const char *BLI_program_dir(void) * Also make sure the temp dir has a trailing slash * * @param fullname The full path to the temp directory +* @param maxlen The size of the fullname buffer * @param userdir Directory specified in user preferences */ static void BLI_where_is_temp(char *fullname, const size_t maxlen, char *userdir) diff --git a/source/blender/blenlib/intern/string_utf8.c b/source/blender/blenlib/intern/string_utf8.c index 89136f270e2..cf865b5686d 100644 --- a/source/blender/blenlib/intern/string_utf8.c +++ b/source/blender/blenlib/intern/string_utf8.c @@ -345,7 +345,7 @@ int BLI_str_utf8_size(const char *p) /* was g_utf8_get_char */ /** * BLI_str_utf8_as_unicode: - * @p: a pointer to Unicode character encoded as UTF-8 + * @p a pointer to Unicode character encoded as UTF-8 * * Converts a sequence of bytes encoded as UTF-8 to a Unicode character. * If @p does not point to a valid UTF-8 encoded character, results are @@ -432,10 +432,10 @@ unsigned int BLI_str_utf8_as_unicode_step(const char *p, size_t *index) /* was g_unichar_to_utf8 */ /** * BLI_str_utf8_from_unicode: - * @c: a Unicode character code - * @outbuf: output buffer, must have at least 6 bytes of space. + * @c a Unicode character code + * @param outbuf output buffer, must have at least 6 bytes of space. * If %NULL, the length will be computed and returned - * and nothing will be written to @outbuf. + * and nothing will be written to outbuf. * * Converts a single character to UTF-8. * @@ -488,11 +488,11 @@ size_t BLI_str_utf8_from_unicode(unsigned int c, char *outbuf) /** * BLI_str_find_prev_char_utf8: * @str: pointer to the beginning of a UTF-8 encoded string - * @p: pointer to some position within @str + * @p pointer to some position within @str * * Given a position @p with a UTF-8 encoded string @str, find the start - * of the previous UTF-8 character starting before @p. Returns %NULL if no - * UTF-8 characters are present in @str before @p. + * of the previous UTF-8 character starting before. @p Returns %NULL if no + * UTF-8 characters are present in @str before @p * * @p does not have to be at the beginning of a UTF-8 character. No check * is made to see if the character found is actually valid other than @@ -513,11 +513,11 @@ char * BLI_str_find_prev_char_utf8(const char *str, const char *p) /* was g_utf8_find_next_char */ /** * BLI_str_find_next_char_utf8: - * @p: a pointer to a position within a UTF-8 encoded string - * @end: a pointer to the byte following the end of the string, + * @p a pointer to a position within a UTF-8 encoded string + * @end a pointer to the byte following the end of the string, * or %NULL to indicate that the string is nul-terminated. * - * Finds the start of the next UTF-8 character in the string after @p. + * Finds the start of the next UTF-8 character in the string after @p * * @p does not have to be at the beginning of a UTF-8 character. No check * is made to see if the character found is actually valid other than @@ -545,9 +545,9 @@ char *BLI_str_find_next_char_utf8(const char *p, const char *end) /* was g_utf8_prev_char */ /** * BLI_str_prev_char_utf8: - * @p: a pointer to a position within a UTF-8 encoded string + * @p a pointer to a position within a UTF-8 encoded string * - * Finds the previous UTF-8 character in the string before @p. + * Finds the previous UTF-8 character in the string before @p * * @p does not have to be at the beginning of a UTF-8 character. No check * is made to see if the character found is actually valid other than -- cgit v1.2.3