summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-04-13 15:09:48 -0600
committerKarl Williamson <public@khwilliamson.com>2013-05-20 08:59:14 -0600
commit236415e2432a2fed9c491c39fffa8830d1660d64 (patch)
treeeffec567a529594ba4237d3127544d9ae5e3aa90 /handy.h
parentaccd961fc36103caacfee2dd46aaf0cd53df9058 (diff)
downloadperl-236415e2432a2fed9c491c39fffa8830d1660d64.tar.gz
handy.h: Clarify comment
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/handy.h b/handy.h
index 582cea638c..df28b920fc 100644
--- a/handy.h
+++ b/handy.h
@@ -112,11 +112,10 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.)
# define HAS_BOOL 1
#endif
-/* a simple (bool) cast may not do the right thing: if bool is defined
- * as char for example, then the cast from int is implementation-defined
- * (bool)!!(cbool) in a ternary triggers a bug in xlc on AIX
- */
-
+/* cast-to-bool. A simple (bool) cast may not do the right thing: if bool is
+ * defined as char for example, then the cast from int is
+ * implementation-defined (bool)!!(cbool) in a ternary triggers a bug in xlc on
+ * AIX */
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
/* Try to figure out __func__ or __FUNCTION__ equivalent, if any.