[vala/wip/tintou/linux-connector: 17/18] Revert "linux: Remove the `data` field from Linux.Connector.Message"



commit 5c464deecd93e27dc6297aafde640fc6c4e70801
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Mar 19 15:18:31 2020 +0100

    Revert "linux: Remove the `data` field from Linux.Connector.Message"
    
    This reverts commit 452f1ccf011b6cadc5dbae34e7bc7ab536b8ad38.

 vapi/linux.vapi | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index e363b994e..645039750 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -3323,6 +3323,10 @@ namespace Linux {
 
             public uint16 len;
             public uint16 flags;
+
+            // FIXME Make this work
+            //[CCode (array_length_cname = "len", array_length_type = "uint16")]
+            //public uint8 data[0];
         }
 
         [CCode (cheader_filename = "linux/cn_proc.h", cname = "enum proc_cn_mcast_op", cprefix = 
"PROC_CN_MCAST_", has_type_id = false)]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]