Skip to content

Add a va_arg intrinsic #1455

Closed
Closed
@mahkoh

Description

@mahkoh
fn va_arg<T>(va_list: *mut u8) -> T;

translates to

va_arg i8* va_list, T

This is useful for C interop. va_arg can theoretically be implemented in user code but that's a lot of work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-langRelevant to the language team, which will review and decide on the RFC.T-libs-apiRelevant to the library API team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions