[vala] linux: Fix uinput_user_dev binding
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] linux: Fix uinput_user_dev binding
- Date: Sun, 11 Nov 2012 14:43:08 +0000 (UTC)
commit fb071c56ac5b11ba0f8693fbda8e6adea850ee2b
Author: JÃrg Billeter <j bitron ch>
Date: Sun Nov 11 15:41:52 2012 +0100
linux: Fix uinput_user_dev binding
Based on patch by Pascal Garber.
Fixes bug 687602.
vapi/linux.vapi | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index da424d5..47ebe57 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -3670,13 +3670,13 @@ namespace Linux {
[CCode (cname = "struct uinput_user_dev", cheader_filename = "linux/uinput.h")]
struct UserDevice
{
- string name;
+ char name[80];
Input.Id id;
int ff_effects_max;
- int[] absmax;
- int[] absmin;
- int[] absfuzz;
- int[] absflat;
+ int absmax[64];
+ int absmin[64];
+ int absfuzz[64];
+ int absflat[64];
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]