AEPutParamPtr

Function AEPutParamPtr 

Source
pub unsafe extern "C-unwind" fn AEPutParamPtr(
    the_apple_event: *mut AppleEvent,
    the_ae_keyword: AEKeyword,
    type_code: DescType,
    data_ptr: *const c_void,
    data_size: c_long,
) -> i16
Available on crate feature AEDataModel only.
Expand description

The following calls are used to pack and unpack parameters from records of type AppleEvent. Since AppleEvent is a subtype of AERecord, the calls in the previous sections can also be used for variables of type AppleEvent. The next six calls are in fact identical to the six calls for AERecord.


ยงSafety

  • the_apple_event must be a valid pointer.
  • data_ptr must be a valid pointer.