Backward Compatibility for multiple structure format #4
Unanswered
praveen44com
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
-
How the below parameters work with CIB?
Client side code: (Using Version2)
typedef struct B1 {
int bparam1;
int bparam2;
int bparam3;
}B1_t;
typedef struct A1 {
int version; //version2
int param1;
B1_t bparam;
char param3;
}A1_t;
Library Code: (using Version:1)
typedef struct B1
{
int bparam1;
int bparam2;
}B1_t;
typedef struct A1
{
int version; //version1
int param1;
int param2;
B1_t bparam;
char param3;
int param4;
}A1_t;
Means my application which is built on Version2 of the library, running on a platform having library version:1. In this case how CIB handles the data layout mismatch issue?
Beta Was this translation helpful? Give feedback.
All reactions