Skip to content

Correctly parsing c variadics args: ... #891

@darleybarreto

Description

@darleybarreto

I was looking at how cbindgen is parsing c variadic arguments here. Would it be possible to make it c variadic instead of VaList? For instance this function

func(stream: *mut FILE, fmt: *const c_char, mut args: ...) 

Would be exported to a header as

func(FILE * stream, const char * fmt, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions