Skip to main content

msg_send_1

Function msg_send_1 

Source
pub unsafe fn msg_send_1<R, A>(obj: *const c_void, sel: Sel, a: A) -> R
Expand description

Send a message with 1 argument.

ยงSafety

  • obj must be a valid Objective-C object pointer or class pointer
  • sel must be a valid selector for a method that takes 1 argument
  • The argument type A must match the expected parameter type
  • The return type R must match the actual return type of the method