diff options
| author | Mosder <xmosder12@gmail.com> | 2026-07-22 01:16:45 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-07-22 01:16:45 +0200 |
| commit | 5d463a7f4c721629a1996be6d19634338290a539 (patch) | |
| tree | 5c681a524990ad8b181dea567d6dc7629d01e8c9 /analyzer/utils/memory.h | |
| parent | 1f664d5b6396fb24c8ce4990ba8882118abb8dcd (diff) | |
refactor: generalized parser structs with offsetof and put them into separate files
Diffstat (limited to 'analyzer/utils/memory.h')
| -rw-r--r-- | analyzer/utils/memory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/analyzer/utils/memory.h b/analyzer/utils/memory.h new file mode 100644 index 0000000..1de58b9 --- /dev/null +++ b/analyzer/utils/memory.h @@ -0,0 +1,4 @@ +// utils/memory.h +// helper functions for dealing with memory management + +#define ARR_LEN(arr) (sizeof(arr) / sizeof(arr[0])) |
