Mercurial > projects > dwt-linux
comparison dwt/internal/c/XInput.d @ 56:002bcca59004
Added tools to verify the struct sized of C binding. Tweaks were necessary.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 12 Jan 2008 01:30:15 +0100 |
parents | 27324bbbac70 |
children |
comparison
equal
deleted
inserted
replaced
55:93981635e709 | 56:002bcca59004 |
---|---|
7 public import dwt.internal.c.Xlib; | 7 public import dwt.internal.c.Xlib; |
8 | 8 |
9 extern(C): | 9 extern(C): |
10 align(4): | 10 align(4): |
11 | 11 |
12 struct XExtensionVersion {} | 12 struct XExtensionVersion{ int a; int b; }; |
13 | 13 |
14 | 14 |
15 | 15 |
16 const int _deviceKeyPress = 0; | 16 const int _deviceKeyPress = 0; |
17 const int _deviceKeyRelease = 1; | 17 const int _deviceKeyRelease = 1; |