summaryrefslogtreecommitdiff
path: root/core/string_builder.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-22 11:52:30 +0200
committerGitHub <noreply@github.com>2019-04-22 11:52:30 +0200
commit3610b4fd770ff34102d0502f4d0fa9d036c7ecd9 (patch)
treee64c74216843ffe1ffb08653888a2ce6ebc7f5de /core/string_builder.h
parent22457b907efcbf7121c8451799de6d800c4fd430 (diff)
parentf64aa0293301eaf89895f7c2117de848f4132f29 (diff)
Merge pull request #28179 from neikeq/welp
Use StringBuilder in C# bindings generator
Diffstat (limited to 'core/string_builder.h')
-rw-r--r--core/string_builder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/string_builder.h b/core/string_builder.h
index 40d70e8f45..0c4985d230 100644
--- a/core/string_builder.h
+++ b/core/string_builder.h
@@ -70,6 +70,10 @@ public:
return appended_strings.size();
}
+ _FORCE_INLINE_ uint32_t get_string_length() const {
+ return string_length;
+ }
+
String as_string() const;
_FORCE_INLINE_ operator String() const {