I suggest something simple to be going on with...
grep -r -L '^extern "C"' . --include '*.h' | grep '/include/pico/'
Find header files in "/include/pico/" that don't contain extern "C". This will catch the worst cases?
Just throw an error if the list of offending headers changes?
I suggest something simple to be going on with...
Find header files in "/include/pico/" that don't contain extern "C". This will catch the worst cases?
Just throw an error if the list of offending headers changes?