fastfetch-sys 2.43.0

A neofetch like system information tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <stdlib.h>
#include <assert.h>

static inline void ffWrapFree(const void* pPtr)
{
    assert(pPtr);
    if(*(void**)pPtr)
        free(*(void**)pPtr);
}

#define FF_AUTO_FREE __attribute__((__cleanup__(ffWrapFree)))