From 6e73b57d9bb1a892fe9a1c779593d2fc41361405 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Mon, 13 Nov 2023 09:27:40 +0800 Subject: [PATCH] native/eda/scf_eda.proto --- native/eda/scf_eda.pb-c.c | 19 ++++++++++++++++--- native/eda/scf_eda.pb-c.h | 3 ++- native/eda/scf_eda.proto | 1 + 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/native/eda/scf_eda.pb-c.c b/native/eda/scf_eda.pb-c.c index b332029..8a55620 100644 --- a/native/eda/scf_eda.pb-c.c +++ b/native/eda/scf_eda.pb-c.c @@ -1058,7 +1058,7 @@ const ProtobufCMessageDescriptor scf_eline__descriptor = (ProtobufCMessageInit) scf_eline__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[19] = +static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[20] = { { "id", @@ -1288,6 +1288,18 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[19] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "lock", + 20, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(ScfEcomponent, lock), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned scf_ecomponent__field_indices_by_name[] = { 6, /* field[6] = a */ @@ -1297,6 +1309,7 @@ static const unsigned scf_ecomponent__field_indices_by_name[] = { 7, /* field[7] = ja */ 9, /* field[9] = jr */ 5, /* field[5] = jv */ + 19, /* field[19] = lock */ 2, /* field[2] = model */ 3, /* field[3] = pins */ 8, /* field[8] = r */ @@ -1313,7 +1326,7 @@ static const unsigned scf_ecomponent__field_indices_by_name[] = { static const ProtobufCIntRange scf_ecomponent__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 19 } + { 0, 20 } }; const ProtobufCMessageDescriptor scf_ecomponent__descriptor = { @@ -1323,7 +1336,7 @@ const ProtobufCMessageDescriptor scf_ecomponent__descriptor = "ScfEcomponent", "", sizeof(ScfEcomponent), - 19, + 20, scf_ecomponent__field_descriptors, scf_ecomponent__field_indices_by_name, 1, scf_ecomponent__number_ranges, diff --git a/native/eda/scf_eda.pb-c.h b/native/eda/scf_eda.pb-c.h index cb3e9fc..750c4cc 100644 --- a/native/eda/scf_eda.pb-c.h +++ b/native/eda/scf_eda.pb-c.h @@ -143,10 +143,11 @@ struct _ScfEcomponent int32_t w; int32_t h; protobuf_c_boolean vflag; + protobuf_c_boolean lock; }; #define SCF_ECOMPONENT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&scf_ecomponent__descriptor) \ - , 0, 0, 0, 0,NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0,NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } struct _ScfEfunction diff --git a/native/eda/scf_eda.proto b/native/eda/scf_eda.proto index d30232d..9e1174a 100644 --- a/native/eda/scf_eda.proto +++ b/native/eda/scf_eda.proto @@ -105,6 +105,7 @@ message scf_ecomponent required int32 h = 18; required bool vflag = 19; + required bool lock = 20; } message scf_efunction -- 2.25.1