Permalink
Browse files

Fix up JNA wrapper to work with keystrokes.

  • Loading branch information...
1 parent 02579c9 commit 6f1e919a5d99378708b23939667e75baecbbb5b6 @candera committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/java/interception/InterceptionLibrary.java
@@ -312,12 +312,12 @@
* Original signature : <code>__attribute__((dllimport)) int interception_send(InterceptionContext, InterceptionDevice, const InterceptionStroke*, unsigned int)</code><br>
* <i>native declaration : line 179</i>
*/
- int interception_send(Pointer context, int device, Pointer stroke, int nstroke);
+ int interception_send(Pointer context, int device, InterceptionKeyStroke.ByReference stroke, int nstroke);
/**
* Original signature : <code>__attribute__((dllimport)) int interception_receive(InterceptionContext, InterceptionDevice, InterceptionStroke*, unsigned int)</code><br>
* <i>native declaration : line 181</i>
*/
- int interception_receive(Pointer context, int device, Pointer stroke, int nstroke);
+ int interception_receive(Pointer context, int device, InterceptionKeyStroke.ByReference stroke, int nstroke);
/**
* Original signature : <code>__attribute__((dllimport)) int interception_is_invalid(InterceptionDevice)</code><br>
* <i>native declaration : line 183</i>

0 comments on commit 6f1e919

Please sign in to comment.