mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-16 20:41:53 +03:00
19 lines
524 B
Swift
19 lines
524 B
Swift
import Foundation
|
|
import SignerSupport
|
|
|
|
let addMockSigner: () = {
|
|
add_signer(
|
|
"MockSigner",
|
|
{ _, _, _, _, _, _, _, _, _, exception in
|
|
// swiftlint:disable:previous opening_brace
|
|
exception.initialize(to: strdup("Mock signer not implemented"))
|
|
return 1
|
|
},
|
|
{ _, _, exception in
|
|
// swiftlint:disable:previous opening_brace
|
|
exception.initialize(to: strdup("Mock analyzer not implemented"))
|
|
return nil
|
|
}
|
|
)
|
|
}()
|