(my)TinyLibC 0.0.1
little tiny pretty lib c
Loading...
Searching...
No Matches
tlcutils.h File Reference

Go to the source code of this file.

Macros

#define UNUSED   __attribute__((unused))
 

Functions

void free_ifnotnull (void *ptr)
 free if ptr is not null
 
void return_void (void)
 function that do nothing; utils for ternary with one function call
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED   __attribute__((unused))

Definition at line 11 of file tlcutils.h.

Function Documentation

◆ free_ifnotnull()

void free_ifnotnull ( void *  ptr)

free if ptr is not null

Parameters
ptrto free

◆ return_void()

void return_void ( void  )

function that do nothing; utils for ternary with one function call