Index: libadblockplus-android/jni/JniJsValue.h |
diff --git a/libadblockplus-android/jni/JniJsValue.h b/libadblockplus-android/jni/JniJsValue.h |
index d90342d61a8c724db85d85fe0fb1b4b968672795..fa7598c1137104adbc07eb6333d197aecc1b9220 100644 |
--- a/libadblockplus-android/jni/JniJsValue.h |
+++ b/libadblockplus-android/jni/JniJsValue.h |
@@ -27,12 +27,12 @@ void JniJsValue_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved); |
jclass GetJsValueClass(); |
-jobject NewJniJsValue(JNIEnv* env, const AdblockPlus::JsValuePtr& jsValue, jclass jsValueClass = 0); |
+jobject NewJniJsValue(JNIEnv* env, const AdblockPlus::JsValue& jsValue, jclass jsValueClass = 0); |
-jobject JniJsValueListToArrayList(JNIEnv* env, AdblockPlus::JsValueList& list); |
+jobject JniJsValueListToArrayList(JNIEnv* env, const AdblockPlus::JsValueList& list); |
-AdblockPlus::JsValue* JniGetJsValue(jlong ptr); |
+AdblockPlus::JsValue* JniGetJsValuePtr(jlong ptr); |
anton
2017/04/26 10:22:59
as for me it's more logical "..Ptr()" to return po
sergei
2017/04/26 14:12:56
I agree, why is this comment?
anton
2017/04/27 06:21:00
It's just explanation why 2 methods changed the na
|
-AdblockPlus::JsValuePtr& JniGetJsValuePtr(jlong ptr); |
+AdblockPlus::JsValue& JniGetJsValue(jlong ptr); |
#endif /* JNIJSVALUE_H */ |