Skip to content

Commit d721b1f

Browse files
committedDec 15, 2017
add Encoding.caseMap stub
1 parent a94c7b0 commit d721b1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/org/jcodings/Encoding.java

+8
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,14 @@ public final int minLength() {
312312
*/
313313
public abstract boolean isReverseMatchAllowed(byte[]bytes, int p, int end);
314314

315+
/**
316+
*
317+
* Oniguruma equivalent: <code>case_map</code>
318+
*/
319+
public int caseMap(IntHolder flagP, byte[]bytes, IntHolder pp, int end, byte[]to, int toP, int toEnd) {
320+
throw new RuntimeException("not implemented");
321+
}
322+
315323
/* onigenc_get_right_adjust_char_head / ONIGENC_LEFT_ADJUST_CHAR_HEAD */
316324
public final int rightAdjustCharHead(byte[]bytes, int p, int s, int end) {
317325
int p_ = leftAdjustCharHead(bytes, p, s, end);

0 commit comments

Comments
 (0)
Please sign in to comment.