Function swift_swift_beginAccess

Source
pub unsafe extern "C" fn swift_swift_beginAccess(
    pointer: *mut c_void,
    buffer: *mut swift_ValueBuffer,
    flags: swift_ExclusivityFlags,
    pc: *mut c_void,
)
Expand description

Begin dynamically tracking an access.

The buffer is opaque scratch space that the runtime may use for the duration of the access.

The PC argument is an instruction pointer to associate with the start of the access. If it is null, the return address of the call to swift_beginAccess will be used.