Refactor: Remove extern "C" from most headers

The only remaining code in source/blender that must be compiled as C
is now datatoc generated code and the DNA defaults that use designated
initializers.

Pull Request: https://projects.blender.org/blender/blender/pulls/134469
This commit is contained in:
Brecht Van Lommel
2025-02-09 19:05:01 +01:00
parent 2fb6a30b23
commit 4786fbe774
410 changed files with 11 additions and 3258 deletions

View File

@@ -15,10 +15,6 @@
#include "BLI_sys_types.h"
#ifdef __cplusplus
extern "C" {
#endif
using namespace Freestyle;
///////////////////////////////////////////////////////////////////////////////////////////
@@ -157,7 +153,3 @@ PyTypeObject UnaryFunction0DUnsigned_Type = {
};
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif