Index: compiled/Utils.h |
=================================================================== |
--- a/compiled/Utils.h |
+++ b/compiled/Utils.h |
@@ -16,9 +16,12 @@ |
*/ |
#pragma once |
#include <string> |
#include "String.h" |
+// the length of a static string array |
+#define LENGTH_OF(x) ((sizeof(x) / sizeof(x[0])) - 1) |
+ |
std::wstring StdWStringFromString(const String& str); |