Support hex entities in metadata

This commit is contained in:
leo60228
2020-06-15 20:31:54 -04:00
parent f0ec627628
commit a99e976402
3 changed files with 31 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ std::vector<std::string> split(const std::string &s, char delim, std::vector<std
std::vector<std::string> split(const std::string &s, char delim);
bool is_positive_num(const std::string& str);
bool is_positive_num(const std::string& str, bool hex);
#define INBOUNDS(index, vector) ((int) index >= 0 && (int) index < (int) vector.size())