diff options
author | Ole Troan <ot@cisco.com> | 2020-08-31 13:54:47 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-09-01 15:10:09 +0000 |
commit | 6006ca85714fd2829f3e20429683f18d70943c04 (patch) | |
tree | decbc2c28588e5028cbf1667e807315dbd333f6f /src/vnet/fib/fib_internal.h | |
parent | 61f49aa38e02d2f78e7033b5c97e6a90ebdecd0f (diff) |
vppapigen: supports backwards compatible marking of enums
enum bar_enum {
BAR1 = 0,
BAR2,
BAR3 [backwards_compatible],
BAR4 = 9 [backwards_compatible],
};
This allows adding backwards compatible (as guaranteed by the developer) enums.
The enums marked backwards compatible are not considered in the CRC calculation.
Type: improvement
Change-Id: I6fc0c21b19e1a02cff7f5d279a0f3a32d2f8b630
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_internal.h')
0 files changed, 0 insertions, 0 deletions