#include #include #include #include #include template struct ArrayVec { T xs[CAP]; uint32_t len; }; extern "C" { int32_t push(ArrayVec *v, uint8_t *elem); } // extern "C"