1 2 3 4 5 6 7 8 9 10 11 12 13
use std::ffi::c_void;
use crate::{bindings::MonoException, AsRawVoid};
struct Exception {
pub mono_exception: *mut MonoException,
}
impl AsRawVoid for Exception {
fn as_raw_void(self) -> *mut c_void {
self.mono_exception as *mut c_void
}
}