Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _CONCAT_H_
- #define _CONCAT_H_
- #define _CONCAT(a, b) a##b
- #define _CONCAT3(a, b, c) a##b##c
- #define _CONCAT4(a, b, c, d) a##b##c##d
- #define _CONCAT5(a, b, c, d, e) a##b##c##d##e
- #define _CONCAT6(a, b, c, d, e, f) a##b##c##d##e##f
- #define _CONCAT7(a, b, c, d, e, f, g) a##b##c##d##e##f##g
- #define _CONCAT8(a, b, c, d, e, f, g, h) a##b##c##d##e##f##g##h
- #define _CONCAT9(a, b, c, d, e, f, g, h, i) a##b##c##d##e##f##g##h##i
- #define _CONCAT10(a, b, c, d, e, f, g, h, i, j) a##b##c##d##e##f##g##h##i##j
- #define CONCAT(a, b) _CONCAT(a, b)
- #define CONCAT3(a, b, c) _CONCAT3(a, b, c)
- #define CONCAT4(a, b, c, d) _CONCAT4(a, b, c, d)
- #define CONCAT5(a, b, c, d, e) _CONCAT5(a, b, c, d, e)
- #define CONCAT6(a, b, c, d, e, f) _CONCAT6(a, b, c, d, e, f)
- #define CONCAT7(a, b, c, d, e, f, g) _CONCAT7(a, b, c, d, e, f, g)
- #define CONCAT8(a, b, c, d, e, f, g, h) _CONCAT8(a, b, c, d, e, f, g, h)
- #define CONCAT9(a, b, c, d, e, f, g, h, i) _CONCAT9(a, b, c, d, e, f, g, h, i)
- #define CONCAT10(a, b, c, d, e, f, g, h, i, j) _CONCAT10(a, b, c, d, e, f, g, h, i, j)
- #endif // _CONCAT_H_
Add Comment
Please, Sign In to add comment