Cleanup: code-comments for struct ID's and use backtick quotes
- Prefix comments before members is used practically everywhere, remove C99 syntax from inside comments. - Replace double quotes with backticks for code styling.
This commit is contained in:
@@ -488,11 +488,11 @@ static void libblock_remap_data(
|
||||
Main *bmain, ID *id, eIDRemapType remap_type, IDRemapper &id_remapper, const int remap_flags)
|
||||
{
|
||||
IDRemap id_remap_data = {
|
||||
/*.type=*/remap_type,
|
||||
/*.bmain=*/bmain,
|
||||
/*.id_remapper=*/id_remapper,
|
||||
/*.id_owner=*/nullptr,
|
||||
/*.flag=*/remap_flags,
|
||||
/*type*/ remap_type,
|
||||
/*bmain*/ bmain,
|
||||
/*id_remapper*/ id_remapper,
|
||||
/*id_owner*/ nullptr,
|
||||
/*flag*/ remap_flags,
|
||||
};
|
||||
|
||||
const bool include_ui = (remap_flags & ID_REMAP_FORCE_UI_POINTERS) != 0;
|
||||
|
||||
@@ -1215,8 +1215,8 @@ void WM_uilisttype_free();
|
||||
/**
|
||||
* The "full" list-ID is an internal name used for storing and identifying a list. It is built like
|
||||
* this:
|
||||
* "{uiListType.idname}_{list_id}", whereby "list_id" is an optional parameter passed to
|
||||
* `UILayout.template_list()`. If it is not set, the full list-ID is just "{uiListType.idname}_".
|
||||
* `{uiListType.idname}_{list_id}`, whereby `list_id` is an optional parameter passed to
|
||||
* `UILayout.template_list()`. If it is not set, the full list-ID is just `{uiListType.idname}_`.
|
||||
*
|
||||
* Note that whenever the Python API refers to the list-ID, it's the short, "non-full" one it
|
||||
* passed to `UILayout.template_list()`. C code can query that through
|
||||
|
||||
Reference in New Issue
Block a user