summaryrefslogtreecommitdiff
path: root/core/string_name.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-24 14:55:22 +0200
committerGitHub <noreply@github.com>2020-07-24 14:55:22 +0200
commit3f1fc5af7affe27bc2fbb1492377930cc33cc526 (patch)
tree2eae9f19d48200ed0d922abe6d2d8bc21585a31d /core/string_name.h
parent27d12092821df77a6186d2fd54055c54beefbea0 (diff)
parent579342810f5c453e91063c54ca6544300ea09090 (diff)
Merge pull request #40148 from RevoluPowered/unit-test-revamp
Added doctest unit test framework
Diffstat (limited to 'core/string_name.h')
-rw-r--r--core/string_name.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/string_name.h b/core/string_name.h
index df6b458581..886ddd0ee7 100644
--- a/core/string_name.h
+++ b/core/string_name.h
@@ -35,6 +35,8 @@
#include "core/safe_refcount.h"
#include "core/ustring.h"
+class Main;
+
struct StaticCString {
const char *ptr;
static StaticCString create(const char *p_ptr);
@@ -73,7 +75,7 @@ class StringName {
void unref();
friend void register_core_types();
friend void unregister_core_types();
-
+ friend class Main;
static Mutex mutex;
static void setup();
static void cleanup();