#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_chan_send_safe(
stack: Stack,
) -> StackExpand description
Send a value through a channel, with error handling
Stack effect: ( value Channel – success_flag )
Returns 1 on success, 0 on failure (closed channel or wrong type). Does not panic on errors - returns 0 instead.
§Safety
Stack must have a Channel on top and a value below it