interoptopus_backend_csharp 0.15.0-alpha.23

Generates C# bindings.
1
2
3
4
5
6
7
8
9
use crate::Interop;
use interoptopus_backend_utils::{Error, IndentWriter, render};

pub fn write_async_helper(i: &Interop, w: &mut IndentWriter) -> Result<(), Error> {
    if i.write_types.write_interoptopus_globals() {
        render!(w, "builtins/async_helper.cs")?;
    }
    Ok(())
}