diff options
author | Julian Eisel <julian@blender.org> | 2021-09-29 17:59:48 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-09-29 17:59:48 +0300 |
commit | 6aac892fad9e6447cf7cfdaee5c2e9c61e2e99fe (patch) | |
tree | f39b304b5c25c3cf429bb34082d86f8c84af7955 | |
parent | 367775ac6a2d1a4d002952aa2731778f99d13d6a (diff) |
Cleanup: Enforce C linkage for internal File Browser header
This will be used by C++ code in the upcoming asset catalog UI commit.
-rw-r--r-- | source/blender/editors/space_file/file_intern.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |