summaryrefslogtreecommitdiff
path: root/caretx.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-11-04 13:46:40 -0800
committerFather Chrysostomos <sprout@cpan.org>2013-11-04 14:07:33 -0800
commitc9a047cbd1764a7a0eae93255ba42e0088af208c (patch)
treea72dde233392be4fc66fc578851e6f0559d19022 /caretx.c
parente2051532106d99a4928bf7d13194edd2ac1f7b1a (diff)
downloadperl-c9a047cbd1764a7a0eae93255ba42e0088af208c.tar.gz
caretx.c: Add bool warning comment
It is for this reason that this file exists.
Diffstat (limited to 'caretx.c')
-rw-r--r--caretx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/caretx.c b/caretx.c
index 184c7d04fd..25ca1951f1 100644
--- a/caretx.c
+++ b/caretx.c
@@ -38,6 +38,12 @@
# include <mach-o/dyld.h>
#endif
+/* Note: Functions in this file must not have bool parameters. When
+ PERL_BOOL_AS_CHAR is #defined, mach-o/dyld.h overrides it in this file
+ by #including stdbool.h, so the function parameters here would conflict
+ with those in proto.h.
+*/
+
void
Perl_set_caret_X(pTHX) {
dVAR;