update headers ex04

This commit is contained in:
hugo LAMY
2025-03-08 21:37:12 +01:00
parent 681e0dfa5e
commit f992d76fe5
4 changed files with 47 additions and 53 deletions

View File

@@ -1,12 +1,12 @@
#ifndef UTILS_H
#define UTILS_H
// Stringify
#define STRINGIFY_HELPER(x) #x
#define STRINGIFY(x) STRINGIFY_HELPER(x)
// stringify
#define STRINGIFY_HELPER(x) #x
#define STRINGIFY(x) STRINGIFY_HELPER(x)
// Concatenate
#define CONCAT_HELPER(x, y) x ## y
#define CONCAT(x, y) CONCAT_HELPER(x, y)
// concatenate
#define CONCAT_HELPER(x, y) x ## y
#define CONCAT(x, y) CONCAT_HELPER(x, y)
#endif // UTILS_H