Skip to content

Namespace #5

@dmitryme

Description

@dmitryme

sbe/solution/car.h

Lines 23 to 24 in 5cf4974

typedef uint16_t ModelYear;
typedef char VehicleCode[6];

Т.к. в C нет namespace имеет смысл добавить префикс sbe_car_ к именам, чтобы избежать конфликта имен. Имеет смысл применить ко всем публичным именам, кроме может быть
стандартных типов int32, int64 и т.д.

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