feat(build): implement Clangd support && add lua symbols

This commit is contained in:
phaneron 2026-04-01 17:36:35 -04:00
parent 6163593844
commit e79ee08905
78 changed files with 399 additions and 5445 deletions

View file

@ -5,9 +5,17 @@
#error "Preprocessor mode not detected! You must define either IDA or GHIDRA or BINANA_GENERATOR"
#endif
#if defined(BINANA_GENERATOR)
// add custom generator defines here
#else
#define BITFIELDS_SUPPORTED
#endif
#if defined(IDA)
// why does this work?
// why does this work?
#define DECLARE_ENUM(E) typedef enum E##__ E
#else
@ -18,4 +26,6 @@
#define DECLARE_STRUCT(T) typedef struct T T
#endif
#define DECLARE_UNION(T) typedef union T T
#endif