[vala/0.50] linux: Add missing struct in cname for Spi.IocTransfer



commit df5362116dcc0e57d607b94ce54fea6d032584c8
Author: Arne Hoch <derhoch gmail com>
Date:   Fri Nov 13 12:15:29 2020 +0000

    linux: Add missing struct in cname for Spi.IocTransfer
    
    There is no typedef, so "struct spi_ioc_transfer" needs to be used.

 vapi/linux.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 77107d178..25b5188f3 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -3849,7 +3849,7 @@ namespace Linux {
     [CCode (cprefix = "", lower_case_cprefix = "")]
     namespace Spi {
 
-        [CCode (cname = "spi_ioc_transfer", has_type_id = false, cheader_filename = "linux/spi/spidev.h")]
+        [CCode (cname = "struct spi_ioc_transfer", has_type_id = false, cheader_filename = 
"linux/spi/spidev.h")]
         public struct IocTransfer {
             public uint64  tx_buf;
             public uint64  rx_buf;


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