summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-19 01:03:09 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-19 01:03:09 +0200
commit2838b78e59ee7c8ea42fec6880cc4c2b2a2c9485 (patch)
treee18b58cbe5b1910e7528be922637d3cdcee420ec /src/pulsecore/macro.h
parenta69b7294145e7dfed6ede8e3d8aa01d7e8509142 (diff)
macro: extend comments a bit
Diffstat (limited to 'src/pulsecore/macro.h')
-rw-r--r--src/pulsecore/macro.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h
index 3c560bc6..ce88c1b9 100644
--- a/src/pulsecore/macro.h
+++ b/src/pulsecore/macro.h
@@ -80,10 +80,10 @@ static inline size_t PA_PAGE_ALIGN(size_t l) {
#define PA_ELEMENTSOF(x) (sizeof(x)/sizeof((x)[0]))
-/* The users of PA_MIN and PA_MAX should be aware that these macros on
- * non-GCC executed code with side effects twice. It is thus
- * considered misuse to use code with side effects as arguments to MIN
- * and MAX. */
+/* The users of PA_MIN and PA_MAX, PA_CLAMP, PA_ROUND_UP should be
+ * aware that these macros on non-GCC executed code with side effects
+ * twice. It is thus considered misuse to use code with side effects
+ * as arguments to MIN and MAX. */
#ifdef __GNUC__
#define PA_MAX(a,b) \