cbindgen 0.29.2

A tool for generating C bindings to Rust code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>

template<typename T, uintptr_t CAP>
struct ArrayVec {
  T xs[CAP];
  uint32_t len;
};

extern "C" {

int32_t push(ArrayVec<uint8_t*, 100> *v, uint8_t *elem);

}  // extern "C"