Miam-Player  0.8.0
A nice music player
prepost.h File Reference
#include <stdlib.h>

Go to the source code of this file.

Macros

#define PRE_FUNC_ADD(f, ...)
 
#define POST_FUNC_ADD(f, ...)
 

Macro Definition Documentation

#define POST_FUNC_ADD (   f,
  ... 
)
Value:
static void atexit_##f() { atexit(f); } \
PRE_FUNC_ADD(atexit_##f)
#define PRE_FUNC_ADD (   f,
  ... 
)
Value:
static int init_##f() { f(__VA_ARGS__); return 0; } \
static int v_init_##f = init_##f();