diff options
Diffstat (limited to 'source/blender/blenlib/BLI_voronoi_2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_voronoi_2d.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_voronoi_2d.h b/source/blender/blenlib/BLI_voronoi_2d.h index fd457dc1a9a..947b120f51a 100644 --- a/source/blender/blenlib/BLI_voronoi_2d.h +++ b/source/blender/blenlib/BLI_voronoi_2d.h @@ -26,6 +26,10 @@ struct ListBase; * \ingroup bli */ +#ifdef __cplusplus +extern "C" { +#endif + typedef struct VoronoiSite { float co[2]; float color[3]; @@ -74,4 +78,8 @@ void BLI_voronoi_triangulate(const VoronoiSite *sites, int (**triangles_r)[3], int *triangles_total_r); +#ifdef __cplusplus +} +#endif + #endif /* __BLI_VORONOI_2D_H__ */ |