summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/StringKit.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/CompilerKit/StringKit.h')
-rw-r--r--dev/CompilerKit/StringKit.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev/CompilerKit/StringKit.h b/dev/CompilerKit/StringKit.h
index 18b3ad8..422d163 100644
--- a/dev/CompilerKit/StringKit.h
+++ b/dev/CompilerKit/StringKit.h
@@ -7,7 +7,8 @@
* ========================================================
*/
-#pragma once
+#ifndef __NECTI_STRINGKIT__
+#define __NECTI_STRINGKIT__
#include <CompilerKit/Defines.h>
#include <CompilerKit/ErrorOr.h>
@@ -79,5 +80,9 @@ struct StringBuilder final {
static BOOL Equals(const char* lhs, const char* rhs);
};
-using BasicStringOr = ErrorOr<BasicString>;
+using BasicStringOr = ErrorOr<BasicString>;
+using BasicStringPtr = BasicString*;
+using BasicStringRef = Ref<BasicString>;
} // namespace CompilerKit
+
+#endif /* ifndef __NECTI_STRINGKIT__ */ \ No newline at end of file