Skip to content

Misleading comment in Modules/xxmodule.c #122040

@nybblista

Description

@nybblista

Everything is clear on how to use xxmodule.c as a starting point to build your own module based on the explanation on the file itself, but I feel confused with the following portion of the comments at the header:

If your object type is needed in other files, you'll have to create a file "foobarobject.h"..

Before that there is the following:

If your module is named foo your sourcefile should be named foomodule.c

Which is clear from the name of the file itself xxmodule.c.

Do we have typo here for bar? or it is just another way to say use the module name + anything + object?

other files, you'll have to create a file "foobarobject.h"; see

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc direasyextension-modulesC modules in the Modules dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions