MSVC: Attempt to fix build error because C++ type in C-linkage block
This commit is contained in:
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user