#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_symbol_eq_cstr(
stack: Stack,
c_str: *const i8,
) -> StackExpand description
Compare a symbol tag with a C string literal
Used by pattern matching codegen to dispatch on variant tags. The stack should have a Symbol on top (typically from variant-tag). Compares with the provided C string and pushes Bool result.
Stack effect: ( Symbol – Bool )
§Safety
- Stack must have a Symbol on top
- c_str must be a valid null-terminated C string