projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9b1ca
)
common/macros: added stringifying macro.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Wed, 20 Jun 2012 15:28:33 +0000
(18:28 +0300)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Wed, 20 Jun 2012 15:28:33 +0000
(18:28 +0300)
src/common/macros.h
patch
|
blob
|
history
diff --git
a/src/common/macros.h
b/src/common/macros.h
index
daf7370
..
69cd22f
100644
(file)
--- a/
src/common/macros.h
+++ b/
src/common/macros.h
@@
-111,6
+111,9
@@
/** Extract micro version from a version integer. */
#define MRP_VERSION_MICRO(ver) ((ver) & 0xff)
+/** Macro to stringify a macro argument. */
+#define MRP_STRINGIFY(arg) #arg
+
/** C++-compatibility macros. */
#ifdef __cplusplus
# define MRP_CDECL_BEGIN extern "C" {