Index: compiled/Utils.h |
=================================================================== |
--- a/compiled/Utils.h |
+++ b/compiled/Utils.h |
@@ -19,11 +19,14 @@ |
#include <string> |
#include "base.h" |
#include "String.h" |
ABP_NS_BEGIN |
+// the length of a static string array |
+#define LENGTH_OF(x) ((sizeof(x) / sizeof(x[0])) - 1) |
+ |
std::wstring StdWStringFromString(const String& str); |
ABP_NS_END |