diff options
author | Arne Hoch <derhoch@gmail.com> | 2020-11-13 12:15:29 +0000 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-01-03 13:12:10 +0100 |
commit | ef702393dfea0757798917e6451b95158f150084 (patch) | |
tree | df94c31ce64ef8f32362f2c40fdfccc505510069 | |
parent | 1c0554481510f3718b58693a5c1cef290b71080f (diff) | |
download | vala-ef702393dfea0757798917e6451b95158f150084.tar.gz |
linux: Add missing struct in cname for Spi.IocTransfer
There is no typedef, so "struct spi_ioc_transfer" needs to be used.
-rw-r--r-- | vapi/linux.vapi | 2 |
1 files changed, 1 insertions, 1 deletions
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; |