mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-29 05:10:20 +02:00
fix build error
This commit is contained in:
parent
2561fd2922
commit
9f7bdb51ac
@ -33,6 +33,7 @@ class ExtensionHook internal constructor(
|
|||||||
private val insertIndexResolver: ((Method) -> Int),
|
private val insertIndexResolver: ((Method) -> Int),
|
||||||
private val contextRegisterResolver: (Method) -> String,
|
private val contextRegisterResolver: (Method) -> String,
|
||||||
) {
|
) {
|
||||||
|
context(BytecodePatchContext)
|
||||||
operator fun invoke(extensionClassDescriptor: String) {
|
operator fun invoke(extensionClassDescriptor: String) {
|
||||||
val insertIndex = insertIndexResolver(fingerprint.method)
|
val insertIndex = insertIndexResolver(fingerprint.method)
|
||||||
val contextRegister = contextRegisterResolver(fingerprint.method)
|
val contextRegister = contextRegisterResolver(fingerprint.method)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user