eolian_mono: blacklist c-only internal APIs
Summary: This patch prevent generating c-only internal APIs. C# doesn't need c-only APIs. Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true Reviewers: felipealmeida, Jaehyun_Cho, woohyun Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11151
This commit is contained in:
parent
5ddd384aee
commit
b8f5d12d4e
|
@ -69,6 +69,8 @@ inline bool is_function_blacklisted(std::string const& c_name)
|
|||
|| c_name == "efl_access_object_event_handler_add"
|
||||
|| c_name == "efl_access_object_event_handler_del"
|
||||
|| c_name == "efl_access_object_event_emit"
|
||||
|| c_name == "efl_access_widget_action_elm_actions_get"
|
||||
|| c_name == "efl_access_action_actions_get"
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
@ -224,68 +224,4 @@ internal struct Event
|
|||
internal delegate void EventCb(System.IntPtr data, ref Event evt);
|
||||
internal delegate void FreeWrapperSupervisorCb(System.IntPtr obj);
|
||||
|
||||
namespace Access
|
||||
{
|
||||
|
||||
public struct ActionData : IEquatable<ActionData>
|
||||
{
|
||||
public IntPtr name;
|
||||
public IntPtr action;
|
||||
public IntPtr param;
|
||||
public IntPtr func;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets a hash for <see cref="ActionData" />.
|
||||
/// <para>Since EFL 1.24.</para>
|
||||
/// </summary>
|
||||
/// <returns>A hash code.</returns>
|
||||
public override int GetHashCode()
|
||||
=> name.GetHashCode() ^ action.GetHashCode()
|
||||
^ param.GetHashCode() ^ func.GetHashCode();
|
||||
|
||||
/// <summary>Returns whether this <see cref="ActionData" />
|
||||
/// 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 ActionData)) ? false
|
||||
: Equals((ActionData)other);
|
||||
|
||||
|
||||
/// <summary>Returns whether this <see cref="ActionData" /> is equal
|
||||
/// to the given <see cref="ActionData" />.
|
||||
/// <para>Since EFL 1.24.</para>
|
||||
/// </summary>
|
||||
/// <param name="other">The <see cref="ActionData" /> to be compared to.</param>
|
||||
/// <returns><c>true</c> if is equal to <c>other</c>.</returns>
|
||||
public bool Equals(ActionData other)
|
||||
=> (name == other.name) && (action == other.action)
|
||||
&& (param == other.param) && (func == other.func);
|
||||
|
||||
/// <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==(ActionData lhs, ActionData 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!=(ActionData lhs, ActionData rhs)
|
||||
=> !(lhs == rhs);
|
||||
}
|
||||
|
||||
} // namespace Access
|
||||
|
||||
} // namespace Efl
|
||||
|
|
Loading…
Reference in New Issue