Support custom file parsing

This commit is contained in:
Jaby
2024-08-04 13:15:58 -05:00
committed by Jaby
parent 247d0dfdd3
commit 655d228fb8
12 changed files with 91 additions and 37 deletions

View File

@@ -7,19 +7,10 @@
#define __no_inline __attribute__((noinline))
#define __no_return __attribute__((noreturn))
#define __always_inline __attribute__((always_inline))
#define __weak __attribute__((weak))
#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" {
#define END_C_FUNCTIONS }
#else
#define __constexpr
#define START_C_FUNCTIONS
#define END_C_FUNCTIONS
#endif
#endif //!__friends