Skip to content

Support renaming fields/types/functions to use Rust naming conventions #1098

Open
@fitzgen

Description

@fitzgen

Turn this C struct

struct foo_bar {
    int bazBolly;
};

into

#[repr(C)]
struct FooBar {
    baz_bolly: std::os::raw::c_int,
}

We could use the heck crate.

The hard part will be dealing with name clashes correctly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions