diff options
Diffstat (limited to 'libbridge/src/main/cpp/wallet2_api_c.cpp')
| -rw-r--r-- | libbridge/src/main/cpp/wallet2_api_c.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp index 95931fc..82024c5 100644 --- a/libbridge/src/main/cpp/wallet2_api_c.cpp +++ b/libbridge/src/main/cpp/wallet2_api_c.cpp @@ -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 |
