1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4use pyo3_stub_gen::Result;
5
6fn main() -> Result<()> {
7 // `stub_info` is a function defined by `define_stub_info_gatherer!` macro.
8 let stub: StubInfo = slint_python::stub_info()?;
9 stub.generate()?;
10 Ok(())
11}
12