summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/klass.hh
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-11-05 11:14:37 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-11-05 11:14:37 +0100
commitedae5021bc21944568de18367607fcbe8ee89aaf (patch)
treeb6c0b97be863a21a814dcf96d3b6a3fffe31e446 /src/bin/eolian_mono/eolian/mono/klass.hh
parent9ffe9a99cbbfaa2a29406e925ab26804a7ca52e6 (diff)
efl-mono: Typos in generated code comments
These comments end up in the API reference docs, so typos look bad.
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/klass.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index ef2c58f..7a40511 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -48,7 +48,7 @@ template <typename OutputIterator, typename Context>
48static bool generate_equals_method(OutputIterator sink, Context const &context) 48static bool generate_equals_method(OutputIterator sink, Context const &context)
49{ 49{
50 return as_generator( 50 return as_generator(
51 scope_tab << "///<summary>Verifies if the given object is equals to this.</summary>\n" 51 scope_tab << "///<summary>Verifies if the given object is equal to this one.</summary>\n"
52 << scope_tab << "public override bool Equals(object obj)\n" 52 << scope_tab << "public override bool Equals(object obj)\n"
53 << scope_tab << "{\n" 53 << scope_tab << "{\n"
54 << scope_tab << scope_tab << "var other = obj as efl.IObject;\n" 54 << scope_tab << scope_tab << "var other = obj as efl.IObject;\n"
@@ -61,7 +61,7 @@ static bool generate_equals_method(OutputIterator sink, Context const &context)
61 << scope_tab << "{\n" 61 << scope_tab << "{\n"
62 << scope_tab << scope_tab << "return this.raw_handle.ToInt32();\n" 62 << scope_tab << scope_tab << "return this.raw_handle.ToInt32();\n"
63 << scope_tab << "}\n" 63 << scope_tab << "}\n"
64 << scope_tab << "///<summary>How native pointer in string representation.</summary>\n" 64 << scope_tab << "///<summary>Turns the native pointer into a string representation.</summary>\n"
65 << scope_tab << "public override String ToString()\n" 65 << scope_tab << "public override String ToString()\n"
66 << scope_tab << "{\n" 66 << scope_tab << "{\n"
67 << scope_tab << scope_tab << "return $\"{this.GetType().Name}@[{this.raw_handle.ToInt32():x}]\";\n" 67 << scope_tab << scope_tab << "return $\"{this.GetType().Name}@[{this.raw_handle.ToInt32():x}]\";\n"
@@ -183,7 +183,7 @@ struct klass
183 << scope_tab << "}\n" 183 << scope_tab << "}\n"
184 << scope_tab << "///<summary>Delegate for function to be called from inside the native constructor.</summary>\n" 184 << scope_tab << "///<summary>Delegate for function to be called from inside the native constructor.</summary>\n"
185 << scope_tab << "public delegate void ConstructingMethod(" << interface_name << " obj);\n" 185 << scope_tab << "public delegate void ConstructingMethod(" << interface_name << " obj);\n"
186 << scope_tab << "///<summary>Returns the pointer the unerlying Eo class object. Used internally on class methods.</summary>\n" 186 << scope_tab << "///<summary>Returns the pointer the underlying Eo class object. Used internally on class methods.</summary>\n"
187 << scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag<library_context>(concrete_cxt).actual_library_name(cls.filename) 187 << scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag<library_context>(concrete_cxt).actual_library_name(cls.filename)
188 << ")] public static extern System.IntPtr\n" 188 << ")] public static extern System.IntPtr\n"
189 << scope_tab << scope_tab << name_helpers::klass_get_name(cls) << "();\n" 189 << scope_tab << scope_tab << name_helpers::klass_get_name(cls) << "();\n"