diff options
author | kwolekr <kwolekr@minetest.net> | 2015-05-18 22:30:25 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-05-18 22:30:25 -0400 |
commit | 6c5a6967ecc162befc44f1adf15bcc9d11658ff7 (patch) | |
tree | d6a14c632b4f7be47b5d5359067510e129221a5a /src/util/string.h | |
parent | 497299afd62e2f9b18dbf2a366bb22996e73102b (diff) | |
download | minetest-6c5a6967ecc162befc44f1adf15bcc9d11658ff7.tar.gz minetest-6c5a6967ecc162befc44f1adf15bcc9d11658ff7.tar.bz2 minetest-6c5a6967ecc162befc44f1adf15bcc9d11658ff7.zip |
Split ObjDef/ObjDefManager out to objdef.cpp
Diffstat (limited to 'src/util/string.h')
-rw-r--r-- | src/util/string.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/string.h b/src/util/string.h index 4ab5cf3f7..b80e3c9a8 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -25,18 +25,20 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> #include <cstring> #include <vector> +#include <map> #include <sstream> #include <cctype> #define STRINGIFY(x) #x #define TOSTRING(x) STRINGIFY(x) +typedef std::map<std::string, std::string> StringMap; + struct FlagDesc { const char *name; u32 flag; }; - // You must free the returned string! // The returned string is allocated using new wchar_t *narrow_to_wide_c(const char *str); |