From cedbd0eb56d11ef1b99f71db45723e71ead94990 Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Fri, 25 Mar 2022 00:58:54 +0800 Subject: [PATCH] Merge code --- .../highcapable/yukihookapi/hook/core/finder/MethodFinder.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt index bc8f8b8a..659d9227 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt @@ -346,7 +346,7 @@ class MethodFinder( * * - ❗请确认目标方法的返回值 - 发生错误会返回默认值 * @param param 方法参数 - * @return [Long] 取不到返回 0 + * @return [Long] 取不到返回 0L */ fun callLong(vararg param: Any?) = invoke(param) ?: 0L @@ -364,7 +364,7 @@ class MethodFinder( * * - ❗请确认目标方法的返回值 - 发生错误会返回默认值 * @param param 方法参数 - * @return [Double] 取不到返回 0 + * @return [Double] 取不到返回 0.0 */ fun callDouble(vararg param: Any?) = invoke(param) ?: 0.0