Cleanup: style + doxy

This commit is contained in:
2015-08-19 08:45:35 +10:00
parent 6a5303ab43
commit 7c352ed43a
7 changed files with 14 additions and 10 deletions

View File

@@ -24,7 +24,7 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenfont/intern/blf_font_access.c
/** \file blender/blenfont/intern/blf_font_i18n.c
* \ingroup blf
*
* API for accessing font files.

View File

@@ -25,7 +25,7 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenfont/BLT_lang.h
/** \file blender/blentranslation/BLT_lang.h
* \ingroup blt
*/

View File

@@ -25,7 +25,7 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenfont/BLT_translation.h
/** \file blender/blentranslation/BLT_translation.h
* \ingroup blt
*/

View File

@@ -23,7 +23,7 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenfont/intern/blt_lang.c
/** \file blender/blentranslation/intern/blt_lang.c
* \ingroup blt
*
* Main internationalization functions to set the locale and query available languages.

View File

@@ -24,7 +24,7 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/blenfont/intern/blt_translation.c
/** \file blender/blentranslation/intern/blt_translation.c
* \ingroup blt
*
* Manages translation files and provides translation functions.

View File

@@ -1767,7 +1767,7 @@ static void build_boundary(BevelParams *bp, BevVert *bv, bool construct)
if (bv->selcount == 1) {
/* special case: only one beveled edge in */
build_boundary_terminal_edge(bp, bv, efirst, construct);
build_boundary_terminal_edge(bp, bv, efirst, construct);
return;
}

View File

@@ -653,7 +653,8 @@ static struct IMBThumbLocks {
ThreadCondition cond;
} thumb_locks = {0};
void IMB_thumb_locks_acquire(void) {
void IMB_thumb_locks_acquire(void)
{
BLI_lock_thread(LOCK_IMAGE);
if (thumb_locks.lock_counter == 0) {
@@ -668,7 +669,8 @@ void IMB_thumb_locks_acquire(void) {
BLI_unlock_thread(LOCK_IMAGE);
}
void IMB_thumb_locks_release(void) {
void IMB_thumb_locks_release(void)
{
BLI_lock_thread(LOCK_IMAGE);
BLI_assert((thumb_locks.locked_paths != NULL) && (thumb_locks.lock_counter > 0));
@@ -682,7 +684,8 @@ void IMB_thumb_locks_release(void) {
BLI_unlock_thread(LOCK_IMAGE);
}
void IMB_thumb_path_lock(const char *path) {
void IMB_thumb_path_lock(const char *path)
{
void *key = BLI_strdup(path);
BLI_lock_thread(LOCK_IMAGE);
@@ -697,7 +700,8 @@ void IMB_thumb_path_lock(const char *path) {
BLI_unlock_thread(LOCK_IMAGE);
}
void IMB_thumb_path_unlock(const char *path) {
void IMB_thumb_path_unlock(const char *path)
{
const void *key = path;
BLI_lock_thread(LOCK_IMAGE);