From 5de56f95966352cda588d3c830f73dfaa1c19412 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 2 Mar 2020 15:07:49 +0100 Subject: Cleanup: make remaining blenkernel headers work in C++ --- source/blender/blenkernel/nla_private.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/nla_private.h') diff --git a/source/blender/blenkernel/nla_private.h b/source/blender/blenkernel/nla_private.h index ed653182a3e..9a9dae5576b 100644 --- a/source/blender/blenkernel/nla_private.h +++ b/source/blender/blenkernel/nla_private.h @@ -28,6 +28,10 @@ #include "BLI_bitmap.h" #include "BLI_ghash.h" +#ifdef __cplusplus +extern "C" { +#endif + /* --------------- NLA Evaluation DataTypes ----------------------- */ /* used for list of strips to accumulate at current time */ @@ -177,4 +181,8 @@ void nladata_flush_channels(PointerRNA *ptr, NlaEvalSnapshot *snapshot, const bool flush_to_original); +#ifdef __cplusplus +} +#endif + #endif /* __NLA_PRIVATE_H__ */ -- cgit v1.2.3