This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handy.h: Clarify comment
authorKarl Williamson <public@khwilliamson.com>
Sat, 13 Apr 2013 21:09:48 +0000 (15:09 -0600)
committerKarl Williamson <public@khwilliamson.com>
Mon, 20 May 2013 14:59:14 +0000 (08:59 -0600)
handy.h

diff --git a/handy.h b/handy.h
index 582cea6..df28b92 100644 (file)
--- 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.