depthai-sys 0.1.3

Low-level FFI crate that builds/links Luxonis DepthAI-Core v3 and exposes Rust bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

// autocxx entrypoint header.
//
// Historically this file duplicated the C ABI declarations because including DepthAI headers
// directly in an autocxx-parsed translation unit can be fragile (heavy templates, transitive
// dependencies, etc.).
//
// The C ABI surface is now fully defined in `wrapper.h` using only opaque handles and POD types,
// so we can include it directly and avoid duplication.

#include "wrapper.h"

#ifdef __cplusplus
#ifndef DEPTHAI_SYS_NO_NATIVE
#include "depthai/depthai.hpp"
#endif
#endif