summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/rust-bindgen-cpp.md
blob: e12e0f966fc108f8bb33ba1d1e320077b809839d (plain)
1
2
3
4
5
6
## Bindgen will now use Meson's hueristic for what is a C++ header

Bindgen natively assumes that a file with the extension `.cpp` is a C++ header,
but that everything else is a C header. Meson has a whole list of extensions it
considers to be C++, and now will automatically look for those extensions and
set bindgen to treat those as C++