Skip to content

Structures ending with _t #4

Closed
Closed
@clintonyeb

Description

@clintonyeb

I presume you have a lot of coding experience. I don't know why but you append all the names of your structures with _t, example:

enum MetaCommandResult_t {
 META_COMMAND_SUCCESS,
 META_COMMAND_UNRECOGNIZED_COMMAND
};
typedef enum MetaCommandResult_t MetaCommandResult;

and then later redefine it.

Is there any advantage to doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions