diff options
author | Ole Troan <ot@cisco.com> | 2019-04-30 10:04:36 +0200 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-06-07 10:38:35 +0000 |
commit | 85465588b18fef9c4712f864f512e00741e2d4f2 (patch) | |
tree | d5914b37782edfa7d85a2366e080ca97bc7ece1f /build/external/rpm | |
parent | 8dbfb433619011b649b1b511ad88969a7f909861 (diff) |
API: Add support for "defaults"
Add support in the API language for specifying a field default.
Add default support in Python binding.
define foo {
u16 mtu [default = 1500];
};
This is client side only. I.e. if the mtu argument is not passed to the foo function,
the client language binding will set it default to 1500.
Change-Id: I5df43f3cd87cb300b40ca38e15dcab25b40e424a
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'build/external/rpm')
0 files changed, 0 insertions, 0 deletions