generated from array-in-a-matrix/matrix-bot-template
bind RustSdkCryptoStorageProvider
This commit is contained in:
parent
7619024098
commit
40800c8f61
6
src/nimbotsdk/RustSdkCryptoStorageProvider.nim
Normal file
6
src/nimbotsdk/RustSdkCryptoStorageProvider.nim
Normal file
|
@ -0,0 +1,6 @@
|
|||
{.emit:"import { RustSdkCryptoStorageProvider } from 'matrix-bot-sdk';".}
|
||||
|
||||
import matrixTypes
|
||||
|
||||
proc newRustSdkCryptoStorageProvider*(storagePath: cstring): ICryptoStorageProvider {.importjs: "new RustSdkCryptoStorageProvider(#)"}
|
||||
proc newRustSdkCryptoStorageProvider*(storagePath: cstring, storageType: cstring): ICryptoStorageProvider {.importjs: "new RustSdkCryptoStorageProvider(#, #)"}
|
Loading…
Reference in a new issue