Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record/Enum struct generation fix #7538

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

Daniel1464
Copy link
Contributor

ProceduralStructGenerator's genRecord and genEnum were package-private, and only extractClassStruct was made public.
However, this package private visibility rendered them unable to be used by the rest of wpilib(and advanced users).

Here, ProceduralStructGenerator is split into 2 classes: StructGenerator(which generates structs) and StructFetcher(the new namespace for extractClassStruct). In addition, genRecord and genEnum have been made public methods.

@github-actions github-actions bot added the component: wpiutil WPI utility library label Dec 11, 2024
@Daniel1464
Copy link
Contributor Author

/format

@PeterJohnson PeterJohnson merged commit 5e3dba6 into wpilibsuite:main Dec 13, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: wpiutil WPI utility library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants