diff options
author | kwolekr <kwolekr@minetest.net> | 2014-02-09 12:38:50 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-02-09 12:44:31 -0500 |
commit | 2a01050a0cf0826f25240e2cb407535394ee360f (patch) | |
tree | bb6d3fd3b27be094db7e885adc5ac25dc5e45139 /src/util/string.h | |
parent | 57710520dca6bce175a6be48989e0a4689b1404e (diff) | |
download | minetest-2a01050a0cf0826f25240e2cb407535394ee360f.tar.gz minetest-2a01050a0cf0826f25240e2cb407535394ee360f.tar.bz2 minetest-2a01050a0cf0826f25240e2cb407535394ee360f.zip |
Add capability to read table flag fields from Lua API
Diffstat (limited to 'src/util/string.h')
-rw-r--r-- | src/util/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/string.h b/src/util/string.h index d6a9926ab..9bb89f14a 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -321,6 +321,7 @@ std::string urlencode(std::string str); std::string urldecode(std::string str); u32 readFlagString(std::string str, FlagDesc *flagdesc, u32 *flagmask); std::string writeFlagString(u32 flags, FlagDesc *flagdesc, u32 flagmask); +size_t mystrlcpy(char *dst, const char *src, size_t size); char *mystrtok_r(char *s, const char *sep, char **lasts); u64 read_seed(const char *str); |