diff options
author | Karl Williamson <khw@cpan.org> | 2022-06-07 05:39:12 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-14 07:38:34 -0600 |
commit | 82943faa9f6f51aebb7960cc8eee73dd44c024e4 (patch) | |
tree | b9e3841945cfbac528df7dfbbe9561d83a17102b /scope.h | |
parent | a5d3a568eb8dce244c5f4f5f1e061ba5a36edbb8 (diff) | |
download | perl-82943faa9f6f51aebb7960cc8eee73dd44c024e4.tar.gz |
Convert '!!' to cBOOL()
I believe the '!!' is somewhat obscure; I for one didn't know about it
for years of programming C, and it was buggy in one compiler, which is why
cBOOL was created, I believe. And it is graphically dense, and
generally harder to read than the cBOOL() construct.
This commit dates from before we moved to C99 where we can simply cast
to (bool), and cBOOL() has been rewritten to do that. But the vast
majority of code uses cBOOL(), and this commit brings the remainder of
the core .[ch] files into uniformity.
Diffstat (limited to 'scope.h')
0 files changed, 0 insertions, 0 deletions