csharp: More updated docs to 1.23.

Summary: eina_config and eina_common updated to 1.23.

Reviewers: lauromoura, felipealmeida, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8293

Differential Revision: https://phab.enlightenment.org/D10263
This commit is contained in:
Bruno da Silva Belo 2019-10-02 12:01:25 +02:00 committed by Mike Blumenkrantz
parent b21a1daa02
commit 19f89251ea
2 changed files with 11 additions and 2 deletions

View File

@ -41,7 +41,7 @@ internal static class NativeCustomExportFunctions
efl_mono_native_efl_unref_addr_get();
}
/// <summary>Wrapper around native memory DllImport'd functions</summary>
/// <summary>Wrapper around native memory DllImport'd functions (SINCE EFL 1.23).</summary>
public static class MemoryNative
{
public static void Free(IntPtr ptr)
@ -126,6 +126,9 @@ public static class MemoryNative
}
}
/// <summary>
/// Conversor of raw pointer to a type and type to raw pointer (SINCE EFL 1.23).
/// </summary>
public static class PrimitiveConversion
{
public static T PointerToManaged<T>(IntPtr nat)
@ -148,6 +151,9 @@ public static class PrimitiveConversion
}
}
/// <summary>
/// Conversor of string to native string and native string to string.. (SINCE EFL 1.23).
/// </summary>
public static class StringConversion
{
public static IntPtr ManagedStringToNativeUtf8Alloc(string managedString)

View File

@ -6,6 +6,9 @@ using System.Runtime.InteropServices;
namespace Eina
{
/// <summary>
/// Manage the initialization and cleanup for eina (SINCE EFL 1.23).
/// </summary>
public class Config
{
[DllImport(efl.Libs.Eina)] private static extern int eina_init();
@ -28,7 +31,7 @@ public class Config
/// <summary>
/// Wrapper class for pointers that need some cleanup afterwards
/// like strings.
/// like strings (SINCE EFL 1.23).
/// </summary>
public class DisposableIntPtr : IDisposable
{