4 sed -n '/^EAPI /{n;p;}' src/lib/*.c >eapi.list
6 for i in $(cat eapi.list|grep -o "^\w\+"); do
7 grep -q "\<$i\>" src/lib/elm_priv.h
9 echo -e "\e[31;1mEAPI in priv.h\e[m\t $i"
13 echo $i | grep -qe '^_\?elm_widget'
15 grep -qe "EAPI.*\<$i\>" src/lib/elm_widget.h
17 echo -e "\e[31;1m WIDGET missing in widget.h\e[m\t $i"
20 grep -qe "EAPI.*\<$i\>" src/lib/Elementary.h.in
22 echo -e "\e[31;1m WIDGET in Elm.h\e[m\t $i"
26 grep -qe "EAPI.*\<$i\>" src/lib/Elementary.h.in
28 echo -e "\e[31;1m ELM missing in Elm.h\e[m\t $i"
31 grep -qe "EAPI.*\<$i\>" src/lib/elm_widget.h
33 echo -e "\e[31;1m ELM in widget.h\e[m\t $i"