use llvm_sys::prelude::LLVMTypeRef;
use std::marker::PhantomData;
use crate::{FromLLVMType, TypeRef};
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct GenericType<'ctx>(LLVMTypeRef, PhantomData<&'ctx ()>);
impl_send_sync!(GenericType);
impl_positional_type_ref!(GenericType, 0);
impl_positional_from_llvm_type!(GenericType);