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>2019-04-21 06:44:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-21 07:27:35 +0300
commit93c19a5a2cf58b75aa3072ce79de5e5d571f3d55 (patch)
tree832c780931025206ac043340e9b39af6d804e425 /source/blender/python/intern/bpy_rna_id_collection.c
parent9d72efe108cb5819d07e524f311f613d002d3b61 (diff)
Cleanup: comments (mainly long lines)
Comments after code can cause awkward line breaks.
Diffstat (limited to 'source/blender/python/intern/bpy_rna_id_collection.c')
-rw-r--r--source/blender/python/intern/bpy_rna_id_collection.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/python/intern/bpy_rna_id_collection.c b/source/blender/python/intern/bpy_rna_id_collection.c
index b07dea06fb4..78dae50efe6 100644
--- a/source/blender/python/intern/bpy_rna_id_collection.c
+++ b/source/blender/python/intern/bpy_rna_id_collection.c
@@ -54,20 +54,21 @@
#include "bpy_rna.h"
typedef struct IDUserMapData {
- /* place-holder key only used for lookups to avoid creating new data only for lookups
+ /** Place-holder key only used for lookups to avoid creating new data only for lookups
* (never return its contents) */
PyObject *py_id_key_lookup_only;
- /* we loop over data-blocks that this ID points to (do build a reverse lookup table) */
+ /** We loop over data-blocks that this ID points to (do build a reverse lookup table) */
PyObject *py_id_curr;
ID *id_curr;
- /* filter the values we add into the set */
+ /** Filter the values we add into the set. */
BLI_bitmap *types_bitmap;
- PyObject *user_map; /* set to fill in as we iterate */
- bool
- is_subset; /* true when we're only mapping a subset of all the ID's (subset arg is passed) */
+ /** Set to fill in as we iterate. */
+ PyObject *user_map;
+ /** true when we're only mapping a subset of all the ID's (subset arg is passed). */
+ bool is_subset;
} IDUserMapData;
static int id_code_as_index(const short idcode)