diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-05-19 00:26:56 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-05-19 00:26:56 +0000 |
commit | 2d98de1b3ae2ade8b1e5493bc63c0c1d776deeb1 (patch) | |
tree | afb0807f148c4452f060ad8456a0fcb56dbae8f8 /util.cpp | |
parent | 966cca4bd4a6d869583fb47f5f66ed4672c007ff (diff) |
Mac OS build fixes by laszlov0.2.8
-- version 0.2.8
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@76 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'util.cpp')
-rw-r--r-- | util.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -314,6 +314,12 @@ string FormatMoney(int64 n, bool fPlus) return str;
}
+
+bool ParseMoney(const string& str, int64& nRet)
+{
+ return ParseMoney(str.c_str(), nRet);
+}
+
bool ParseMoney(const char* pszIn, int64& nRet)
{
string strWhole;
|