1
2
3
4
5
6
7
8
9
10
11
#![feature(result_option_inspect)]

use crate::ffidl::FFIDL;

pub use self::ffidl::{Config, GoObjectPath, UnitLikeStructPath};

mod ffidl;

pub fn generate_code(config: Config) -> anyhow::Result<()> {
    FFIDL::generate(config)
}