From 6aac892fad9e6447cf7cfdaee5c2e9c61e2e99fe Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Wed, 29 Sep 2021 16:59:48 +0200 Subject: [PATCH] Cleanup: Enforce C linkage for internal File Browser header This will be used by C++ code in the upcoming asset catalog UI commit. --- source/blender/editors/space_file/file_intern.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/blender/editors/space_file/file_intern.h b/source/blender/editors/space_file/file_intern.h index 905c0aeb8e0..65e0ad94c72 100644 --- a/source/blender/editors/space_file/file_intern.h +++ b/source/blender/editors/space_file/file_intern.h @@ -23,6 +23,10 @@ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + /* internal exports only */ struct ARegion; @@ -152,3 +156,7 @@ void file_execute_region_panels_register(struct ARegionType *art); void file_tile_boundbox(const ARegion *region, FileLayout *layout, const int file, rcti *r_bounds); void file_path_to_ui_path(const char *path, char *r_pathi, int max_size); + +#ifdef __cplusplus +} +#endif