diff options
Diffstat (limited to 'src/bindings/mono/eina_mono/eina_common.cs')
-rw-r--r-- | src/bindings/mono/eina_mono/eina_common.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bindings/mono/eina_mono/eina_common.cs b/src/bindings/mono/eina_mono/eina_common.cs index a4f2ff4c5f..014e77d020 100644 --- a/src/bindings/mono/eina_mono/eina_common.cs +++ b/src/bindings/mono/eina_mono/eina_common.cs @@ -55,6 +55,9 @@ internal static partial class NativeCustomExportFunctions efl_mono_native_free_addr_get(); [DllImport(efl.Libs.CustomExports)] public static extern IntPtr efl_mono_native_efl_unref_addr_get(); + + [DllImport(efl.Libs.Eina)] public static extern IntPtr + eina_slstr_copy_new(string str); } /// <summary>Wrapper around native memory DllImport'd functions. @@ -94,6 +97,11 @@ public static class MemoryNative return NativeCustomExportFunctions.efl_mono_native_strdup(str); } + public static IntPtr SlstrCopyNew(string str) + { + return NativeCustomExportFunctions.eina_slstr_copy_new(str); + } + /// <summary> /// Retrieves an instance of a string for use in program. /// <para>Since EFL 1.23.</para> |