Add a Doxyfile and preliminary module-level docs.

This commit is contained in:
2024-02-20 21:41:37 -05:00
parent 17b92126de
commit 450b07fd08
30 changed files with 2868 additions and 0 deletions

View File

@ -1,5 +1,13 @@
#pragma once
/**
** \defgroup mem Memory management
** tf_malloc() and friends use malloc() behind the scenes but optionally
** track memory per system (OpenSSL, sqlite, libuv, ...) and store callstacks
** to help debug leaks.
** @{
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@ -42,3 +50,5 @@ typedef struct _tf_mem_allocation_t
} tf_mem_allocation_t;
tf_mem_allocation_t* tf_mem_summarize_allocations(int* out_count);
/** @} */