add MONERO_DEBUG_isPointerNull
This commit is contained in:
@@ -1597,6 +1597,11 @@ const char* MONERO_DEBUG_test5_std() {
|
||||
return text2;
|
||||
}
|
||||
|
||||
bool MONERO_DEBUG_isPointerNull(void* wallet_ptr) {
|
||||
Monero::Wallet *wallet = reinterpret_cast<Monero::Wallet*>(wallet_ptr);
|
||||
return (wallet != NULL);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -966,6 +966,7 @@ uint64_t MONERO_DEBUG_test3(uint64_t x);
|
||||
void* MONERO_DEBUG_test4(uint64_t x);
|
||||
const char* MONERO_DEBUG_test5();
|
||||
const char* MONERO_DEBUG_test5_std();
|
||||
bool MONERO_DEBUG_isPointerNull(void* wallet_ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user