From 93c19a5a2cf58b75aa3072ce79de5e5d571f3d55 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 21 Apr 2019 13:44:06 +1000 Subject: Cleanup: comments (mainly long lines) Comments after code can cause awkward line breaks. --- source/blender/python/intern/bpy_rna_id_collection.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'source/blender/python') 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) -- cgit v1.2.3