unix/coveragecpp: Include all API headers in the C++ code.
Make the CI builds compile the public API as C++ to catch accidental introductions of incompatible code. Signed-off-by: stijn <stijn@ignitron.net>
This commit is contained in:
parent
e901ff8557
commit
a8d1c25a1b
@ -1,5 +1,20 @@
|
||||
extern "C" {
|
||||
#include "py/obj.h"
|
||||
// Include the complete public API to verify everything compiles as C++.
|
||||
#include <py/gc.h>
|
||||
#include <py/obj.h>
|
||||
#include <py/objarray.h>
|
||||
#include <py/objexcept.h>
|
||||
#include <py/objfun.h>
|
||||
#include <py/objgenerator.h>
|
||||
#include <py/objint.h>
|
||||
#include <py/objlist.h>
|
||||
#include <py/objmodule.h>
|
||||
#include <py/objnamedtuple.h>
|
||||
#include <py/objstr.h>
|
||||
#include <py/objstringio.h>
|
||||
#include <py/objtuple.h>
|
||||
#include <py/objtype.h>
|
||||
#include <py/runtime.h>
|
||||
}
|
||||
|
||||
#if defined(MICROPY_UNIX_COVERAGE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user