pub type IDocumentEvent = *mut c_void;