Switched sequence and choice in JNI to varargs

This commit is contained in:
aegis 2013-05-16 11:32:37 +02:00
parent 62501e5447
commit 8976238bcc
2 changed files with 4 additions and 4 deletions

View file

@ -55,8 +55,8 @@ public class Hammer
public static native Parser in(byte[] charset, int length);
public static native Parser endP();
public static native Parser nothingP();
public static native Parser sequence(Parser[] parsers);
public static native Parser choice(Parser[] parsers);
public static native Parser sequence(Parser... parsers);
public static native Parser choice(Parser... parsers);
public static native Parser butNot(Parser p1, Parser p2);
public static native Parser difference(Parser p1, Parser p2);
public static native Parser xor(Parser p1, Parser p2);