Replace define private with __friends

This commit is contained in:
Jaby
2023-10-06 14:50:44 +02:00
committed by Jaby
parent 8f915dfb9a
commit dbf3e5d1de
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" {