summaryrefslogtreecommitdiffstats
path: root/core/string_builder.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-04-19 01:10:08 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-04-19 02:11:39 +0200
commitf64aa0293301eaf89895f7c2117de848f4132f29 (patch)
tree7e1a4cc9fbc8674a35ddbd21af632941a3703ce5 /core/string_builder.h
parent4ad255a078da0e9cc2620fe714bd722aae38206f (diff)
downloadredot-engine-f64aa0293301eaf89895f7c2117de848f4132f29.tar.gz
Use StringBuilder in C# bindings generator
- Also fixed generation of empty summary comments when no comment should have been generated.
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 {