diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 14:19:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 16:43:00 +0300 |
commit | 5a43406e1bad973a8cb32702b4fdb588068a6dcd (patch) | |
tree | b47ac75f429b586950dab5300669c373023efab8 /source/blender/makesdna/DNA_fileglobal_types.h | |
parent | 0215caeac2ad013fa03e2799049f5358d951ebfa (diff) |
Cleanup: move DNA comments before struct members
Needed for clang-format in some cases, see: T53211
Diffstat (limited to 'source/blender/makesdna/DNA_fileglobal_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_fileglobal_types.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_fileglobal_types.h b/source/blender/makesdna/DNA_fileglobal_types.h index 24fb1c86627..990817b59a2 100644 --- a/source/blender/makesdna/DNA_fileglobal_types.h +++ b/source/blender/makesdna/DNA_fileglobal_types.h @@ -37,7 +37,8 @@ * the moment of saving, and the file-specific settings. */ typedef struct FileGlobal { - char subvstr[4]; /* needs to be here, for human fileformat recognition */ + /** Needs to be here, for human fileformat recognition. */ + char subvstr[4]; short subversion; short minversion, minsubversion; char pad[6]; @@ -48,10 +49,12 @@ typedef struct FileGlobal { int fileflags; int globalf; - uint64_t build_commit_timestamp; /* commit timestamp from buildinfo */ - char build_hash[16]; /* hash from buildinfo */ - /* file path where this was saved, for recover */ - char filename[1024]; /* 1024 = FILE_MAX */ + /** Commit timestamp from buildinfo. */ + uint64_t build_commit_timestamp; + /** Hash from buildinfo. */ + char build_hash[16]; + /** File path where this was saved, for recover (1024 = FILE_MAX). */ + char filename[1024]; } FileGlobal; |