summaryrefslogtreecommitdiff
path: root/include/stack_pad.h
blob: 180a6cff703b62b2f742d5d47ddaa9316e18342c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef STACK_PAD_H
#define STACK_PAD_H

#include "attributes.h"

#ifndef GLUE
#define GLUE(a, b) a##b
#endif
#ifndef GLUE2
#define GLUE2(a, b) GLUE(a, b)
#endif

#define STACK_PAD(type) UNUSED type GLUE2(__stack_pad_, __LINE__)
#define STACK_PADS(type, n) STACK_PAD(type)[(n)]

#endif