Fix C++ build

The tests include headers that exposed that we do need SharedImageBuffer
in the internal C++ types namespace.
This commit is contained in:
Simon Hausmann 2021-08-10 12:57:29 +02:00 committed by Simon Hausmann
parent 0d3c38899f
commit ddbe704764

View file

@ -184,7 +184,14 @@ fn gen_corelib(root_dir: &Path, include_dir: &Path) -> anyhow::Result<()> {
for (rust_types, extra_excluded_types, internal_header) in [
(
vec!["ImageInner", "Image", "Size", "sixtyfps_image_size", "SharedPixelBuffer"],
vec![
"ImageInner",
"Image",
"Size",
"sixtyfps_image_size",
"SharedPixelBuffer",
"SharedImageBuffer",
],
vec![],
"sixtyfps_image_internal.h",
),