Skip to content

Automatic group detection is incomplete #24

@fsaintjacques

Description

@fsaintjacques

See the libtwiddle documentation, there should be 2 distinct group called bitmap and bitmap_rle, yet they get merged into bitmap. I believe the following code makes a bold assumption where the first word splited by _ is the group name.

Would there be a way to specify the group which a function lives in? For example, in libgit2, we can see the following header in most files.

Some suggestions

  • Use a special comment in each function, say @group
  • Have the user provide a list of groups in the config file and bind a function to the longest prefix matching group in the list

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