diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:12:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:12:37 +0300 |
commit | 2545119112875a098d8d807c84b7f7a3e1bcd338 (patch) | |
tree | 58443070ce3445431ffd953979777807bc68f847 /source/blender/blendthumb | |
parent | d6c3ea9e7aaa2246bb8ffbce895f97e05beeba98 (diff) |
Cleanup: move public doc-strings into headers for 'blendthumb'
Ref T92709
Diffstat (limited to 'source/blender/blendthumb')
-rw-r--r-- | source/blender/blendthumb/src/blendthumb.hh | 4 | ||||
-rw-r--r-- | source/blender/blendthumb/src/blendthumb_extract.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blendthumb/src/blendthumb.hh b/source/blender/blendthumb/src/blendthumb.hh index c029a1766d6..0bcb160519e 100644 --- a/source/blender/blendthumb/src/blendthumb.hh +++ b/source/blender/blendthumb/src/blendthumb.hh @@ -53,6 +53,10 @@ enum eThumbStatus { std::optional<blender::Vector<uint8_t>> blendthumb_create_png_data_from_thumb( const Thumbnail *thumb); +/** + * This function extracts the thumbnail from the .blend file into thumb. + * Returns #BT_OK for success and the relevant error code otherwise. + */ eThumbStatus blendthumb_create_thumb_from_file(struct FileReader *rawfile, Thumbnail *thumb); /* INTEGER CODES */ diff --git a/source/blender/blendthumb/src/blendthumb_extract.cc b/source/blender/blendthumb/src/blendthumb_extract.cc index f1c5567bab5..2d14a88c904 100644 --- a/source/blender/blendthumb/src/blendthumb_extract.cc +++ b/source/blender/blendthumb/src/blendthumb_extract.cc @@ -179,10 +179,6 @@ static eThumbStatus blendthumb_extract_from_file_impl(FileReader *file, return BT_INVALID_THUMB; } -/** - * This function extracts the thumbnail from the .blend file into thumb. - * Returns #BT_OK for success and the relevant error code otherwise. - */ eThumbStatus blendthumb_create_thumb_from_file(FileReader *rawfile, Thumbnail *thumb) { /* Read header in order to identify file type. */ |