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