xartigas pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7b4a58313b3ab6f8e5610e90c5a1153c7f27b1c5
commit 7b4a58313b3ab6f8e5610e90c5a1153c7f27b1c5 Author: Bruno da Silva Belo <[email protected]> Date: Wed Oct 2 12:01:25 2019 +0200 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 --- src/bindings/mono/eina_mono/eina_common.cs | 8 +++++++- src/bindings/mono/eina_mono/eina_config.cs | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/bindings/mono/eina_mono/eina_common.cs b/src/bindings/mono/eina_mono/eina_common.cs index 7d97a9142e..d552f75128 100644 --- a/src/bindings/mono/eina_mono/eina_common.cs +++ b/src/bindings/mono/eina_mono/eina_common.cs @@ -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) diff --git a/src/bindings/mono/eina_mono/eina_config.cs b/src/bindings/mono/eina_mono/eina_config.cs index 9f3028f62d..3b35b2142f 100644 --- a/src/bindings/mono/eina_mono/eina_config.cs +++ b/src/bindings/mono/eina_mono/eina_config.cs @@ -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 { --
