#![doc = include_str!("readme.md")]
pub struct GsglRoot {
pub functions: Vec<GsglFunction>,
pub structs: Vec<GsglStruct>,
}
pub struct GsglFunction {
pub name: String,
pub return_type: GsglType,
pub params: Vec<GsglParam>,
}
pub struct GsglParam {
pub name: String,
pub ty: GsglType,
}
pub struct GsglStruct {
pub name: String,
pub members: Vec<GsglStructMember>,
}
pub struct GsglStructMember {
pub name: String,
pub ty: GsglType,
}
pub struct GsglType {
pub name: String,
}