Skip to content

C-compatible variadics #36

@harpocrates

Description

@harpocrates

The following should parse, but it doesn't currently:

pub unsafe extern "C" fn test(_: i32, ap: ...) { }
pub unsafe extern "C" fn test_valist_forward(n: u64, mut ap: ...) -> f64 {
    rust_valist_interesting_average(n, ap.as_va_list())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions