Manually calculating the size of the context. #33
Unanswered
amurgZainar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
In this example when manually calculating the size of the context, what happens if the compiler adds padding in the context to align the members in memory according to the size of the largest type? Also here when calculating the offsets, is it necessary to calculate the offsets only for the
data
,data_end
andmeta_data
regions or it this necessary for all the members?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions