Replace define private with __friends

This commit is contained in:
Björn Gaier
2023-10-06 14:50:44 +02:00
parent 46fc185be5
commit c78f103ca7
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" {