MSVC: Attempt to fix build error because C++ type in C-linkage block

This commit is contained in:
Julian Eisel
2023-08-30 18:58:58 +02:00
parent ca00c9aa3e
commit 401340fade

View File

@@ -216,7 +216,8 @@ void BKE_previewimg_ensure(struct PreviewImage *prv, int size);
const char *BKE_previewimg_deferred_filepath_get(const struct PreviewImage *prv);
#ifdef __cplusplus
std::optional<int> BKE_previewimg_deferred_thumb_source_get(const struct PreviewImage *prv);
extern "C++" std::optional<int> BKE_previewimg_deferred_thumb_source_get(
const struct PreviewImage *prv);
#endif
/**