blob: 926eb78935205d1793cac6cdfe0f6d8dc5e8e52f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use libc::c_uint;
use crate::llvm::MetadataType;
#[derive(Copy, Clone)]
#[repr(transparent)]
pub(crate) struct MetadataKindId(c_uint);
impl From<MetadataType> for MetadataKindId {
fn from(value: MetadataType) -> Self {
Self(value as c_uint)
}
}
|