Skip to content

Commit 7071f08

Browse files
Enlarge number of supported fixed arguments for varargs
1 parent dfa9fff commit 7071f08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/sun/jna/Function.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public interface PostCallRead {
7878
public static final int THROW_LAST_ERROR = 0x40;
7979
/** Mask for number of fixed args (1-3) for varargs calls. */
8080
@java.lang.annotation.Native
81-
public static final int USE_VARARGS = 0x3;
81+
public static final int USE_VARARGS = 0xFF;
8282
@java.lang.annotation.Native
8383
public static final int USE_VARARGS_SHIFT = 7;
8484

0 commit comments

Comments
 (0)