scf_eda.proto
authoryu.dongliang <18588496441@163.com>
Thu, 13 Jul 2023 15:05:23 +0000 (23:05 +0800)
committeryu.dongliang <18588496441@163.com>
Thu, 13 Jul 2023 15:05:23 +0000 (23:05 +0800)
scf_eda.pb-c.c
scf_eda.pb-c.h
scf_eda.proto

index 288e80f3e7d95201f33931f575c3ee7dbef24e66..2b509ddfbb86264621933ce9eee2400d307c8736 100644 (file)
@@ -314,7 +314,7 @@ static const ProtobufCFieldDescriptor scf_line__field_descriptors[4] =
     "x0",
     1,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfLine, x0),
     NULL,
@@ -326,7 +326,7 @@ static const ProtobufCFieldDescriptor scf_line__field_descriptors[4] =
     "y0",
     2,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfLine, y0),
     NULL,
@@ -338,7 +338,7 @@ static const ProtobufCFieldDescriptor scf_line__field_descriptors[4] =
     "x1",
     3,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfLine, x1),
     NULL,
@@ -350,7 +350,7 @@ static const ProtobufCFieldDescriptor scf_line__field_descriptors[4] =
     "y1",
     4,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfLine, y1),
     NULL,
@@ -451,7 +451,7 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[7] =
     "x",
     6,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEpin, x),
     NULL,
@@ -463,7 +463,7 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[7] =
     "y",
     7,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEpin, y),
     NULL,
@@ -684,7 +684,7 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[7] =
     "x",
     4,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEcomponent, x),
     NULL,
@@ -696,7 +696,7 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[7] =
     "y",
     5,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEcomponent, y),
     NULL,
@@ -708,7 +708,7 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[7] =
     "w",
     6,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEcomponent, w),
     NULL,
@@ -720,7 +720,7 @@ static const ProtobufCFieldDescriptor scf_ecomponent__field_descriptors[7] =
     "h",
     7,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEcomponent, h),
     NULL,
@@ -800,7 +800,7 @@ static const ProtobufCFieldDescriptor scf_efunction__field_descriptors[7] =
     "x",
     4,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEfunction, x),
     NULL,
@@ -812,7 +812,7 @@ static const ProtobufCFieldDescriptor scf_efunction__field_descriptors[7] =
     "y",
     5,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEfunction, y),
     NULL,
@@ -824,7 +824,7 @@ static const ProtobufCFieldDescriptor scf_efunction__field_descriptors[7] =
     "w",
     6,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEfunction, w),
     NULL,
@@ -836,7 +836,7 @@ static const ProtobufCFieldDescriptor scf_efunction__field_descriptors[7] =
     "h",
     7,
     PROTOBUF_C_LABEL_REQUIRED,
-    PROTOBUF_C_TYPE_UINT32,
+    PROTOBUF_C_TYPE_INT32,
     0,   /* quantifier_offset */
     offsetof(ScfEfunction, h),
     NULL,
index 08879775c24126a8bb73132e6bc8275937880dcd..977ddb6c553eaf428630c0e4482deccd46682a1d 100644 (file)
@@ -32,10 +32,10 @@ typedef struct _ScfEboard ScfEboard;
 struct  _ScfLine
 {
   ProtobufCMessage base;
-  uint32_t x0;
-  uint32_t y0;
-  uint32_t x1;
-  uint32_t y1;
+  int32_t x0;
+  int32_t y0;
+  int32_t x1;
+  int32_t y1;
 };
 #define SCF_LINE__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_line__descriptor) \
@@ -51,8 +51,8 @@ struct  _ScfEpin
   uint64_t cid;
   uint64_t lid;
   uint64_t flags;
-  uint32_t x;
-  uint32_t y;
+  int32_t x;
+  int32_t y;
 };
 #define SCF_EPIN__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_epin__descriptor) \
@@ -95,10 +95,10 @@ struct  _ScfEcomponent
   uint64_t type;
   size_t n_pins;
   ScfEpin **pins;
-  uint32_t x;
-  uint32_t y;
-  uint32_t w;
-  uint32_t h;
+  int32_t x;
+  int32_t y;
+  int32_t w;
+  int32_t h;
 };
 #define SCF_ECOMPONENT__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_ecomponent__descriptor) \
@@ -113,10 +113,10 @@ struct  _ScfEfunction
   ScfEcomponent **components;
   size_t n_elines;
   ScfEline **elines;
-  uint32_t x;
-  uint32_t y;
-  uint32_t w;
-  uint32_t h;
+  int32_t x;
+  int32_t y;
+  int32_t w;
+  int32_t h;
 };
 #define SCF_EFUNCTION__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_efunction__descriptor) \
index 4cb53997667897df84e37709feb34791c1602d5b..1d4af8d7767f11162e82ee555909cea47d2a5cee 100644 (file)
@@ -2,10 +2,10 @@ syntax="proto2";
 
 message scf_line
 {
-       required uint32 x0    = 1;
-       required uint32 y0    = 2;
-       required uint32 x1    = 3;
-       required uint32 y1    = 4;
+       required int32 x0 = 1;
+       required int32 y0 = 2;
+       required int32 x1 = 3;
+       required int32 y1 = 4;
 }
 
 message scf_epin
@@ -16,8 +16,8 @@ message scf_epin
        required uint64    lid   = 4;
        required uint64    flags = 5;
 
-       required uint32    x     = 6;
-       required uint32    y     = 7;
+       required int32     x     = 6;
+       required int32     y     = 7;
 }
 
 message scf_econn
@@ -41,10 +41,10 @@ message scf_ecomponent
        required uint64    type = 2;
        repeated scf_epin  pins = 3;
 
-       required uint32    x    = 4;
-       required uint32    y    = 5;
-       required uint32    w    = 6;
-       required uint32    h    = 7;
+       required int32     x    = 4;
+       required int32     y    = 5;
+       required int32     w    = 6;
+       required int32     h    = 7;
 }
 
 message scf_efunction
@@ -53,10 +53,10 @@ message scf_efunction
        repeated scf_ecomponent components = 2;
        repeated scf_eline      elines     = 3;
 
-       required uint32    x    = 4;
-       required uint32    y    = 5;
-       required uint32    w    = 6;
-       required uint32    h    = 7;
+       required int32    x    = 4;
+       required int32    y    = 5;
+       required int32    w    = 6;
+       required int32    h    = 7;
 }
 
 message scf_eboard