diff options
Diffstat (limited to 'ElmSharp/Interop/Interop.Elementary.cs')
-rw-r--r-- | ElmSharp/Interop/Interop.Elementary.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ElmSharp/Interop/Interop.Elementary.cs b/ElmSharp/Interop/Interop.Elementary.cs index 6821173..fdd7e6d 100644 --- a/ElmSharp/Interop/Interop.Elementary.cs +++ b/ElmSharp/Interop/Interop.Elementary.cs @@ -235,13 +235,5 @@ internal static partial class Interop { elm_object_part_text_set(obj, IntPtr.Zero, text); } - - internal static IntPtr GetPtrToObject(object data) - { - IntPtr dataPtr = IntPtr.Zero; - if (data != null) - Marshal.StructureToPtr(data, dataPtr, true); - return dataPtr; - } } } |