Cleanup: make remaining blenlib headers work in C++

Differential Revision: https://developer.blender.org/D6988

Reviewers: brecht
This commit is contained in:
2020-03-02 15:04:53 +01:00
parent 5afa4b1dc8
commit cf93b65a65
41 changed files with 328 additions and 0 deletions

View File

@@ -22,9 +22,17 @@
* \brief Generic memory manipulation API.
*/
#ifdef __cplusplus
extern "C" {
#endif
/* it may be defined already */
#ifndef __BLI_UTILDEFINES_H__
bool BLI_memory_is_zero(const void *arr, const size_t size);
#endif
#ifdef __cplusplus
}
#endif
#endif /* __BLI_MEMORY_UTILS_H__ */