void init(JNIEnv* env, jint addr) { mEnv = env; mJavaInput = NULL; mMatcher = toRegexMatcher(addr); mChars = NULL; mStatus = U_ZERO_ERROR; mUText = NULL; }
static void Matcher_closeImpl(JNIEnv*, jclass, jint addr) { delete toRegexMatcher(addr); }
extern "C" void Java_java_util_regex_Matcher_closeImpl(JNIEnv*, jclass, jint addr) { delete toRegexMatcher(addr); }