Skip to content

Rename fields in structs that use names which are reserved in c++ - #57

Merged
tomaszklak merged 4 commits into
mainfrom
rename-reserved-cpp-field-names
Oct 15, 2025
Merged

Rename fields in structs that use names which are reserved in c++#57
tomaszklak merged 4 commits into
mainfrom
rename-reserved-cpp-field-names

Conversation

@tomaszklak

Copy link
Copy Markdown
Collaborator

An example of such situation (which prompted this PR) can be found here: https://github.com/NordSecurity/libtelio/blob/9ad00837f0b429ec5c3278e42604856e7f861d60/src/libtelio.udl#L833

@tomaszklak
tomaszklak force-pushed the rename-reserved-cpp-field-names branch from 071f128 to fa81ce4 Compare October 14, 2025 14:00
macos-13 will be removed before the end of the year.

Signed-off-by: Tomasz Kłak <tomasz.klak@nordsec.com>
Signed-off-by: Tomasz Kłak <tomasz.klak@nordsec.com>
@tomaszklak
tomaszklak force-pushed the rename-reserved-cpp-field-names branch from fa81ce4 to 09725c5 Compare October 14, 2025 14:08
@tomaszklak tomaszklak changed the title Rename field in structs that use names that are reserved in c++ Rename fields in structs that use names which are reserved in c++ Oct 14, 2025

@Lipt0nas Lipt0nas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just needs the changelog and cargo version bump and we're good to go

@mathiaspeters

Copy link
Copy Markdown

+1

Signed-off-by: Tomasz Kłak <tomasz.klak@nordsec.com>
@tomaszklak
tomaszklak force-pushed the rename-reserved-cpp-field-names branch from 09725c5 to c9d08f0 Compare October 15, 2025 08:02
Signed-off-by: Tomasz Kłak <tomasz.klak@nordsec.com>
@tomaszklak
tomaszklak force-pushed the rename-reserved-cpp-field-names branch from c9d08f0 to 39dff0c Compare October 15, 2025 08:04

@lcruz99 lcruz99 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@tomaszklak
tomaszklak merged commit f02896c into main Oct 15, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants