interoptopus_csharp 0.16.0-alpha.9

The C# backend for Interoptopus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::lang::{FunctionId, TypeId};
use interoptopus::new_id;

new_id!(ServiceIdCs);

pub struct Service {
    pub ty: TypeId,
    pub ctors: Vec<FunctionId>,   // These are interop functions and overloads for which to emit methods for
    pub methods: Vec<FunctionId>, // These are interop functions and overloads for which to emit methods for
    pub destructor: FunctionId,
}