expose free function
This commit is contained in:
@@ -275,4 +275,5 @@ _MONERO_cw_WalletListener_resetIsNewTransactionExist
|
||||
_MONERO_cw_WalletListener_height
|
||||
_MONERO_WalletManager_createDeterministicWalletFromSpendKey
|
||||
_MONERO_PendingTransaction_txKey
|
||||
_MONERO_PendingTransaction_hex
|
||||
_MONERO_PendingTransaction_hex
|
||||
_MONERO_free
|
||||
@@ -1911,6 +1911,12 @@ uint64_t MONERO_cw_WalletListener_height(void* cw_walletListener_ptr) {
|
||||
return listener->cw_isNeedToRefresh();
|
||||
};
|
||||
|
||||
// i hate windows
|
||||
|
||||
void MONERO_free(void* ptr) {
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1011,6 +1011,8 @@ extern ADDAPI bool MONERO_cw_WalletListener_isNewTransactionExist(void* cw_walle
|
||||
extern ADDAPI void MONERO_cw_WalletListener_resetIsNewTransactionExist(void* cw_walletListener_ptr);
|
||||
extern ADDAPI uint64_t MONERO_cw_WalletListener_height(void* cw_walletListener_ptr);
|
||||
|
||||
extern ADDAPI void MONERO_free(void* ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -1932,6 +1932,12 @@ void* WOWNERO_deprecated_create14WordSeed(char *path, char *password, char *lang
|
||||
return reinterpret_cast<void*>(wallet);
|
||||
}
|
||||
|
||||
// i hate windows
|
||||
|
||||
void WOWNERO_free(void* ptr) {
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1009,6 +1009,9 @@ extern ADDAPI uint64_t WOWNERO_cw_WalletListener_height(void* cw_walletListener_
|
||||
extern ADDAPI void* WOWNERO_deprecated_restore14WordSeed(char *path, char *password, char *seed, int32_t networkType);
|
||||
extern ADDAPI void* WOWNERO_deprecated_create14WordSeed(char *path, char *password, char *language, int32_t networkType);
|
||||
extern ADDAPI uint64_t WOWNERO_deprecated_14WordSeedHeight(char *seed);
|
||||
|
||||
extern ADDAPI void WOWNERO_free(void* ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -272,4 +272,5 @@ _WOWNERO_PendingTransaction_txKey
|
||||
_WOWNERO_PendingTransaction_hex
|
||||
_WOWNERO_deprecated_restore14WordSeed
|
||||
_WOWNERO_deprecated_create14WordSeed
|
||||
_WOWNERO_deprecated_14WordSeedHeight
|
||||
_WOWNERO_deprecated_14WordSeedHeight
|
||||
_WOWNERO_free
|
||||
Reference in New Issue
Block a user