Skip to content

Commit

Permalink
Enlarge number of supported fixed arguments for varargs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblaesing committed Feb 19, 2023
1 parent dfa9fff commit 7071f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/sun/jna/Function.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public interface PostCallRead {
public static final int THROW_LAST_ERROR = 0x40;
/** Mask for number of fixed args (1-3) for varargs calls. */
@java.lang.annotation.Native
public static final int USE_VARARGS = 0x3;
public static final int USE_VARARGS = 0xFF;
@java.lang.annotation.Native
public static final int USE_VARARGS_SHIFT = 7;

Expand Down

0 comments on commit 7071f08

Please sign in to comment.