diff options
Diffstat (limited to 'source/blender/blenlib/BLI_boxpack_2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_boxpack_2d.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_boxpack_2d.h b/source/blender/blenlib/BLI_boxpack_2d.h index b519a920a77..762cb7aaa44 100644 --- a/source/blender/blenlib/BLI_boxpack_2d.h +++ b/source/blender/blenlib/BLI_boxpack_2d.h @@ -24,6 +24,10 @@ * \ingroup bli */ +#ifdef __cplusplus +extern "C" { +#endif + struct ListBase; /* Box Packer */ @@ -57,4 +61,8 @@ void BLI_box_pack_2d_fixedarea(struct ListBase *boxes, int height, struct ListBase *packed); +#ifdef __cplusplus +} +#endif + #endif /* __BLI_BOXPACK_2D_H__ */ |