# local.h A small header-only C library that wraps `__attribute__((cleanup(...)))` to provide a nice interface for automatic destructors. ## Usage ```c #include int main(void) { local int *data = malloc(sizeof(int) * 64); ... } ``` To specify the cleanup function: ```c local_(free) int *data = malloc(sizeof(int) * 64); ```