Skip to content

OSAL should provide a typedef for "ID" values #555

@jphickey

Description

@jphickey

Is your feature request related to a problem? Please describe.
The OSAL API uses uint32 type to identify objects/resources in an abstract way.

Describe the solution you'd like
There should be a typedef for this. For instance:

typedef uint32 OS_id_t;

This typedef can then be used in all APIs rather than using uint32 directly.

Describe alternatives you've considered
Keep using uint32.

Additional context
Providing a typedef is generally accepted as good practice in terms of future proofing the code. This wouldn't change anything immediately, as the type will remain uint32 as it currently is.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions