Skip to content

Скрыть сруктуру #3

@dmitryme

Description

@dmitryme

sbe/solution/car.h

Lines 7 to 13 in 5cf4974

typedef struct
{
uint16_t blockLength;
uint16_t templateId;
uint16_t schemaId;
uint16_t version;
} messageHeader;

Структуру нужно скрыть в car.c как
typedef struct messageHeader_s
{
uint16_t blockLength;
uint16_t templateId;
uint16_t schemaId;
uint16_t version;
};
в заголовке же оставить
typedef struct messageHeader_s messageHeader_t;

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