diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:07:49 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:07:49 +0300 |
commit | 5de56f95966352cda588d3c830f73dfaa1c19412 (patch) | |
tree | 5f71cd37d5ebc1dbe69ef5df4b365c3e6df95b00 /source/blender/blenkernel/BKE_ccg.h | |
parent | cf93b65a65f948d4014d3fd2f7541ffe1b2209d4 (diff) |
Cleanup: make remaining blenkernel headers work in C++
Diffstat (limited to 'source/blender/blenkernel/BKE_ccg.h')
-rw-r--r-- | source/blender/blenkernel/BKE_ccg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_ccg.h b/source/blender/blenkernel/BKE_ccg.h index ebea8dcbd22..ad1e05ee367 100644 --- a/source/blender/blenkernel/BKE_ccg.h +++ b/source/blender/blenkernel/BKE_ccg.h @@ -31,6 +31,10 @@ #include <stdio.h> #include <stdlib.h> +#ifdef __cplusplus +extern "C" { +#endif + struct CCGSubSurf; /* Each CCGElem is CCGSubSurf's representation of a subdivided @@ -159,4 +163,8 @@ BLI_INLINE CCGElem *CCG_elem_next(const CCGKey *key, CCGElem *elem) return CCG_elem_offset(key, elem, 1); } +#ifdef __cplusplus +} +#endif + #endif |