native/eda/scf_eda.proto
authoryu.dongliang <18588496441@163.com>
Mon, 13 Nov 2023 01:27:40 +0000 (09:27 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 13 Nov 2023 01:27:40 +0000 (09:27 +0800)
native/eda/scf_eda.pb-c.c
native/eda/scf_eda.pb-c.h
native/eda/scf_eda.proto

index b332029b78e452be44214ee48976ee5daa1a75ce..8a55620223ed77e54ccf80c4f54a062a7254cb88 100644 (file)
@@ -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,
index cb3e9fc38d4b2d571dc80e12586dc3fd34c822f7..750c4cca8cd87abac016241448e7395052e518b3 100644 (file)
@@ -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
index d30232d307e1710baa9f9d34253381831be2cddd..9e1174ac87206a153e97cc7831c025cb59091877 100644 (file)
@@ -105,6 +105,7 @@ message scf_ecomponent
        required int32     h      = 18;
 
        required bool      vflag  = 19;
+       required bool      lock   = 20;
 }
 
 message scf_efunction