Cleanup: make blf header work in C++

This commit is contained in:
Jacques Lucke
2020-03-02 15:34:17 +01:00
parent f48b46860b
commit 51bce18b6f

View File

@@ -27,6 +27,10 @@
#include "BLI_compiler_attrs.h"
#include "BLI_sys_types.h"
#ifdef __cplusplus
extern "C" {
#endif
/* enable this only if needed (unused circa 2016) */
#define BLF_BLUR_ENABLE 0
@@ -277,4 +281,8 @@ struct ResultBLF {
int width;
};
#ifdef __cplusplus
}
#endif
#endif /* __BLF_API_H__ */