summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-12-19 16:30:53 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-12-19 16:30:54 +0900
commitfb301eea87bcade60bf7b2304c805f00147276e6 (patch)
treef7be8fcf3b86d7c65e011e093f4f702308d3b3f3 /src/bindings
parenta9fa8da384bb0bcd0a095e227b7bca52f36bc615 (diff)
downloadefl-fb301eea87bcade60bf7b2304c805f00147276e6.tar.gz
csharp: remove unused code in workaround
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10914
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/mono/eo_mono/workaround.cs120
1 files changed, 0 insertions, 120 deletions
diff --git a/src/bindings/mono/eo_mono/workaround.cs b/src/bindings/mono/eo_mono/workaround.cs
index 7b0ceab056..0afe95807b 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -255,126 +255,6 @@ internal struct Event
internal delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt);
internal delegate void FreeWrapperSupervisorCb(System.IntPtr obj);
-[StructLayout(LayoutKind.Sequential)]
-public struct TextCursorCursor : IEquatable<TextCursorCursor>
-{
- IntPtr obj;
- UIntPtr pos; // UIntPtr to automatically change size_t between 32/64
- IntPtr node;
- [MarshalAsAttribute(UnmanagedType.U1)]bool changed;
-
- /// <summary>
- /// Gets a hash for <see cref="TextCursorCursor" />.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <returns>A hash code.</returns>
- public override int GetHashCode()
- => obj.GetHashCode() ^ pos.GetHashCode()
- ^ node.GetHashCode() ^ changed.GetHashCode();
-
- /// <summary>Returns whether this <see cref="TextCursorCursor" />
- /// is equal to the given <see cref="object" />.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="other">The <see cref="object" /> to be compared to.</param>
- /// <returns><c>true</c> if is equal to <c>other</c>.</returns>
- public override bool Equals(object other)
- => (!(other is TextCursorCursor)) ? false
- : Equals((TextAnnotateAnnotation)other);
-
-
- /// <summary>Returns whether this <see cref="TextCursorCursor" /> is equal
- /// to the given <see cref="TextCursorCursor" />.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="other">The <see cref="TextCursorCursor" /> to be compared to.</param>
- /// <returns><c>true</c> if is equal to <c>other</c>.</returns>
- public bool Equals(TextCursorCursor other)
- => (obj == other.obj) && (pos == other.pos)
- && (node == other.node) && (changed == other.changed);
-
- /// <summary>Returns whether <c>lhs</c> is equal to <c>rhs</c>.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="lhs">The left hand side of the operator.</param>
- /// <param name="rhs">The right hand side of the operator.</param>
- /// <returns><c>true</c> if <c>lhs</c> is equal
- /// to <c>rhs</c>.</returns>
- public static bool operator==(TextCursorCursor lhs, TextCursorCursor rhs)
- => lhs.Equals(rhs);
-
- /// <summary>Returns whether <c>lhs</c> is not equal to <c>rhs</c>.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="lhs">The left hand side of the operator.</param>
- /// <param name="rhs">The right hand side of the operator.</param>
- /// <returns><c>true</c> if <c>lhs</c> is not equal
- /// to <c>rhs</c>.</returns>
- public static bool operator!=(TextCursorCursor lhs, TextCursorCursor rhs)
- => !(lhs == rhs);
-}
-
-[StructLayout(LayoutKind.Sequential)]
-public struct TextAnnotateAnnotation : IEquatable<TextAnnotateAnnotation>
-{
- IntPtr list;
- IntPtr obj;
- IntPtr start_node;
- IntPtr end_node;
- [MarshalAsAttribute(UnmanagedType.U1)]bool is_item;
-
- /// <summary>
- /// Gets a hash for <see cref="TextAnnotateAnnotation" />.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <returns>A hash code.</returns>
- public override int GetHashCode()
- => list.GetHashCode() ^ obj.GetHashCode()
- ^ start_node.GetHashCode() ^ end_node.GetHashCode()
- ^ is_item.GetHashCode();
-
- /// <summary>Returns whether this <see cref="TextAnnotateAnnotation" />
- /// is equal to the given <see cref="object" />.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="other">The <see cref="object" /> to be compared to.</param>
- /// <returns><c>true</c> if is equal to <c>other</c>.</returns>
- public override bool Equals(object other)
- => (!(other is TextAnnotateAnnotation)) ? false
- : Equals((TextAnnotateAnnotation)other);
-
-
- /// <summary>Returns whether this <see cref="TextAnnotateAnnotation" /> is equal
- /// to the given <see cref="TextAnnotateAnnotation" />.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="other">The <see cref="TextAnnotateAnnotation" /> to be compared to.</param>
- /// <returns><c>true</c> if is equal to <c>other</c>.</returns>
- public bool Equals(TextAnnotateAnnotation other)
- => (list == other.list) && (obj == other.obj)
- && (start_node == other.start_node) && (is_item == other.is_item);
-
- /// <summary>Returns whether <c>lhs</c> is equal to <c>rhs</c>.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="lhs">The left hand side of the operator.</param>
- /// <param name="rhs">The right hand side of the operator.</param>
- /// <returns><c>true</c> if <c>lhs</c> is equal
- /// to <c>rhs</c>.</returns>
- public static bool operator==(TextAnnotateAnnotation lhs, TextAnnotateAnnotation rhs)
- => lhs.Equals(rhs);
-
- /// <summary>Returns whether <c>lhs</c> is not equal to <c>rhs</c>.
- /// <para>Since EFL 1.24.</para>
- /// </summary>
- /// <param name="lhs">The left hand side of the operator.</param>
- /// <param name="rhs">The right hand side of the operator.</param>
- /// <returns><c>true</c> if <c>lhs</c> is not equal
- /// to <c>rhs</c>.</returns>
- public static bool operator!=(TextAnnotateAnnotation lhs, TextAnnotateAnnotation rhs)
- => !(lhs == rhs);
-}
-
namespace Access
{