///
/// Removes all events of the given *eventType* that were posted
/// using postEvent() for *receiver.*
///
/// The events are *not* dispatched, instead they are removed from
/// the queue. You should never need to call this function. If you do
/// call it, be aware that killing events may cause *receiver* to
/// break one or more invariants.
///
/// If *receiver* is null, the events of *eventType* are removed for
/// all objects. If *eventType* is 0, all the events are removed for
/// *receiver.* You should never call this function with *eventType*
/// of 0. If you do call it in this way, be aware that killing events
/// may cause *receiver* to break one or more invariants.
///
Removes all events of the given *eventType* that were posted
using postEvent() for *receiver.

The events are *not* dispatched, instead they are removed from
the queue. You should never need to call this function. If you do
call it, be aware that killing events may cause *receiver* to
break one or more invariants.

If *receiver* is null, the events of *eventType* are removed for
all objects. If *eventType* is 0, all the events are removed for
receiver.* You should never call this function with *eventType
of 0. If you do call it in this way, be aware that killing events
may cause *receiver* to break one or more invariants.
Removes all events of the given * eventType * that were posted using postEvent () for * receiver . The events are * not * dispatched instead they are removed from the queue . You should never need to call this function . If you do call it be aware that killing events may cause * receiver * to break one or more invariants . If * receiver * is null the events of * eventType * are removed for all objects . If * eventType * is 0 all the events are removed for receiver . * You should never call this function with * eventType of 0 . If you do call it in this way be aware that killing events may cause * receiver * to break one or more invariants .
pub fn remove_posted_events<O: ObjectTrait<'a>>(receiver: &O, event_type: i32) {
        let (obj_receiver_1, _funcs) = receiver.get_object_obj_funcs();
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_core_application)(::std::ptr::null()).all_funcs)
                    .core_application_funcs,
            )
        };
        unsafe {
            ((*funcs).remove_posted_events)(obj_data, obj_receiver_1, event_type);
        }
    }
pub fn remove_posted_events < O : ObjectTrait < ' a > > ( receiver : & O , event_type : i32 ) { let ( obj_receiver_1 , _funcs ) = receiver . get_object_obj_funcs ( ) ; let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_core_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . core_application_funcs , ) } ; unsafe { ( ( * funcs ) . remove_posted_events ) ( obj_data , obj_receiver_1 , event_type ) ; } }
Removes all events of the given *eventType* that were posted
using postEvent() for *receiver.
Removes all events of the given * eventType * that were posted using postEvent () for * receiver .
receiver
&O
event_type
i32