Merge pull request #40 from status-im/fix/windows-cstring
fix: fix username not showing on Windows because of missing cstring
This commit is contained in:
commit
cffc38c9fa
|
@ -77,12 +77,12 @@ proc sendTransaction*(jsonArgs: cstring, password: cstring): cstring {.exportc.}
|
|||
result = status_go.SendTransaction(jsonArgs, password)
|
||||
tearDownForeignThreadGc()
|
||||
|
||||
proc generateAlias*(pk: GoString): cstring {.exportc.} =
|
||||
proc generateAlias*(pk: cstring): cstring {.exportc.} =
|
||||
setupForeignThreadGc()
|
||||
result = status_go.GenerateAlias(pk)
|
||||
tearDownForeignThreadGc()
|
||||
|
||||
proc identicon*(pk: GoString): cstring {.exportc.} =
|
||||
proc identicon*(pk: cstring): cstring {.exportc.} =
|
||||
setupForeignThreadGc()
|
||||
result = status_go.Identicon(pk)
|
||||
tearDownForeignThreadGc()
|
||||
|
|
|
@ -28,9 +28,9 @@ proc SetSignalEventCallback*(callback: SignalCallback) {.importc: "SetSignalEven
|
|||
|
||||
proc SendTransaction*(jsonArgs: cstring, password: cstring): cstring {.importc: "SendTransaction".}
|
||||
|
||||
proc GenerateAlias*(pk: GoString): cstring {.importc: "GenerateAlias".}
|
||||
proc GenerateAlias*(pk: cstring): cstring {.importc: "GenerateAlias".}
|
||||
|
||||
proc Identicon*(pk: GoString): cstring {.importc: "Identicon".}
|
||||
proc Identicon*(pk: cstring): cstring {.importc: "Identicon".}
|
||||
|
||||
proc Login*(accountData: cstring, password: cstring): cstring {.importc: "Login".}
|
||||
|
||||
|
|
Loading…
Reference in New Issue