summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/StringKit.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-28 09:06:29 +0200
committerGitHub <noreply@github.com>2025-08-28 09:06:29 +0200
commit891bc2653b911a4553a39d03bae4d62d866dbd07 (patch)
tree3d32f48d0c181fa7cc31173b122dbfc885c67217 /dev/CompilerKit/StringKit.h
parent5467549fa5d656afd0c6bf12c6c3928a8c919591 (diff)
parenta7b43769b2f6dae5abdda4cb2649e43b02fbeea7 (diff)
Merge pull request #10 from nekernel-org/dev
v0.0.3e1 — Ogre
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