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



commit ef702393dfea0757798917e6451b95158f150084
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 344f62463..cbf006d14 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -3845,7 +3845,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]