ligen-core 0.1.0

Language Interface Generator Core
Documentation
mod object;
mod method;
mod identifier;
mod input;
mod output;
mod ty;
mod attribute;
mod literal;

mod generator;

pub use literal::Literal;
pub use attribute::{Attribute, Attributes, LiteralConverter};
pub use object::Object;
pub use method::Method;
pub use identifier::Identifier;
pub use input::{Input, Inputs};
pub use output::Output;
pub use ty::{Type, Reference};

pub use generator::{Generator, Files, File};

pub fn get_path() -> String {
    let profile = if cfg!(debug_assertions) { "debug" } else { "release" };
    format!("./target/{profile}/ligen", profile = profile)
}