Add stringify macros in src/helper/types.h.
This commit is contained in:
parent
0f3117c19d
commit
68785af4da
|
@ -56,6 +56,10 @@ typedef bool _Bool;
|
|||
|
||||
#endif /* HAVE_STDBOOL_H */
|
||||
|
||||
/// turns a macro argument into a string constant
|
||||
#define stringify(s) __stringify(s)
|
||||
#define __stringify(s) #s
|
||||
|
||||
/* DANGER!!!! here be dragons!
|
||||
*
|
||||
* Leave these fn's as byte accesses because it is safe
|
||||
|
|
Loading…
Reference in New Issue