Replace define private with __friends

This commit is contained in:
2023-10-06 14:50:44 +02:00
parent 4bab1e30fc
commit 8b0c47c1db
10 changed files with 11 additions and 15 deletions

View File

@@ -10,6 +10,10 @@
#define __section(name) __attribute__((section(name)))
#define __collect(...) __VA_ARGS__
#ifndef __friends
#define __friends private
#endif //!__friends
#ifdef __cplusplus
#define __constexpr constexpr
#define START_C_FUNCTIONS extern "C" {