During our tests we have discovered that the marshalled method returns
true even when called from background thread. This commit fixes this issue.
More info:
https://msdn.microsoft.com/en-us/library/t2t3725f(v=vs.80).aspx
https://msdn.microsoft.com/en-us/library/75dwhxf7(v=vs.110).aspx
Change-Id: I6b9f67aadf07ce35ab498f77b8ef6dd58b0d979e
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
internal static partial class Eina
{
[DllImport(Libraries.Eina)]
+ [return: MarshalAs(UnmanagedType.U1)]
internal static extern bool eina_main_loop_is();
}
}