add file hashing for cache validation and provide the license to the cc0 files in the project

This commit is contained in:
2025-07-01 04:28:32 +01:00
parent c31f16d68d
commit 246e20014f
9 changed files with 242 additions and 70 deletions

View File

@@ -2,8 +2,12 @@
#define ARGON_MEMORY_H
#include <stddef.h> // for size_t
#include <gc/gc.h>
// GC-managed allocations
void ar_finalizer(void *obj, GC_finalization_proc fn, void *client_data,
GC_finalization_proc *old_fn, void **old_client_data);
void *ar_alloc(size_t size);
void *ar_alloc_atomic(size_t size);
char *ar_strdup(const char *str);