-
Notifications
You must be signed in to change notification settings - Fork 20
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
Use CFE_MSG_PTR conversion macro #123
Labels
Comments
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
2 tasks
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
2 tasks
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
jphickey
added a commit
to jphickey/SC
that referenced
this issue
Oct 24, 2023
Rather than taking the address of a sub-member, use the macro provided from the CFE_MSG module to convert from a local container to a CFE_MSG_Messge_t pointer.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist (Please check before submitting)
Is your feature request related to a problem? Please describe.
When passing a pointer to a message, apps should use the
CFE_MSG_PTR
conversion macro provided via the CFE_MSG module, rather than taking the address of a sub-structure.Describe the solution you'd like
Change the calls that access the
CFE_MSG_Message_t
sub-object to use the macro instead.Additional context
This is because the name of the sub-object is defined by the CFE_MSG module, it may be different. The macro is intended to safely convert from a container struct into a message pointer, based on the way the MSG module defines it.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: