Skip to content

Add a github commit test to check header files for missing extern "C" #2865

@peterharperuk

Description

@peterharperuk

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions