mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
view: add for_each_view()
Helped-by: @Consolatis and @heroin-moose (by a significant amount)
This commit is contained in:
parent
a9e123393c
commit
7fde7ed2cc
3 changed files with 87 additions and 36 deletions
5
scripts/checkpatch.pl
vendored
5
scripts/checkpatch.pl
vendored
|
|
@ -5526,10 +5526,11 @@ sub process {
|
|||
# because (as opposed to Linux coding style) we use
|
||||
# braces for single statement blocks.
|
||||
#
|
||||
# include/ssd-internal.h contains a macro that we can't
|
||||
# deal with, so ignore that
|
||||
# We ignore a couple of header-files which contain
|
||||
# macros that we cannot deal with.
|
||||
#
|
||||
if ($starts_with_if_while_etc && !length($s)
|
||||
&& $filename ne "include/view.h"
|
||||
&& $filename ne "include/ssd-internal.h") {
|
||||
CHK("BRACES", "[labwc-custom] open brace { expected after if/while/for/switch - even with single statement blocks");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue