mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 13:02:27 -04:00
Added two new functions to libretroshare for writing formatted data to std::string
int rs_sprintf(std::string &str, const char *fmt, ...); int rs_sprintf_append(std::string &str, const char *fmt, ...); git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9951b36092
commit
b32fddb3e0
2 changed files with 59 additions and 0 deletions
|
@ -31,4 +31,7 @@ bool ConvertUtf16ToUtf8(const std::wstring& source, std::string& dest);
|
|||
|
||||
} } // librs::util
|
||||
|
||||
int rs_sprintf(std::string &str, const char *fmt, ...);
|
||||
int rs_sprintf_append(std::string &str, const char *fmt, ...);
|
||||
|
||||
#endif // RSSTRING_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue