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

Fix #41, render union members if all in same EDS #45

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

jphickey
Copy link
Contributor

Describe the contribution
If a datasheet/packagefile defines all derived containers then render that object in C as a normal union with all members, as opposed to the abstract union that would be rendered if types came from different package files.

Fixes #41

Testing performed
Build and run LC using EDS - which depends on the LC_MultiType_t union using this feature

Expected behavior changes
LC use case is now provided/handled.

System(s) tested on
Debian

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

If a datasheet/packagefile defines all derived containers then render
that object in C as a normal union with all members, as opposed to the
abstract union that would be rendered if types came from different
package files.
@jphickey jphickey added the CCB:Ready Pull request is ready for CCB discussion label Mar 13, 2023
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for CCB discussion labels Mar 16, 2023
@dzbaker dzbaker merged commit e629c61 into nasa:main Mar 16, 2023
@jphickey jphickey deleted the fix-41-union-members branch April 20, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render certain EDS constructs as a union
2 participants