Sindbad~EG File Manager

Current Path : /usr/local/src/clamav-1.0.9/libclamav_rust/.cargo/vendor/cbindgen/tests/rust/
Upload File :
Current File : //usr/local/src/clamav-1.0.9/libclamav_rust/.cargo/vendor/cbindgen/tests/rust/union.rs

use std::marker::PhantomData;

union Opaque {
    x: i32,
    y: f32,
}

#[repr(C)]
union Normal {
    x: i32,
    y: f32,
}

#[repr(C)]
union NormalWithZST {
    x: i32,
    y: f32,
    z: (),
    w: PhantomData<i32>,
}

#[no_mangle]
pub extern "C" fn root(
    a: *mut Opaque,
    b: Normal,
    c: NormalWithZST
) { }

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists