From cf93b65a65f948d4014d3fd2f7541ffe1b2209d4 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 2 Mar 2020 15:04:53 +0100 Subject: Cleanup: make remaining blenlib headers work in C++ Differential Revision: https://developer.blender.org/D6988 Reviewers: brecht --- source/blender/blenlib/BLI_astar.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenlib/BLI_astar.h') diff --git a/source/blender/blenlib/BLI_astar.h b/source/blender/blenlib/BLI_astar.h index 3fe37d7886b..8a70371cbcb 100644 --- a/source/blender/blenlib/BLI_astar.h +++ b/source/blender/blenlib/BLI_astar.h @@ -29,6 +29,10 @@ #include "BLI_bitmap.h" +#ifdef __cplusplus +extern "C" { +#endif + /* -------------------------------------------------------------------- */ typedef struct BLI_AStarGNLink { @@ -114,4 +118,8 @@ bool BLI_astar_graph_solve(BLI_AStarGraph *as_graph, BLI_AStarSolution *r_solution, const int max_steps); +#ifdef __cplusplus +} +#endif + #endif /* __BLI_ASTAR_H__ */ -- cgit v1.2.3