Table of Contents

Class MarshalHelper

Namespace
GLib
Assembly
GLib-2.0.dll
public static class MarshalHelper
Inheritance
MarshalHelper
Inherited Members

Methods

ToPtrAndFree<T>(T, Action<IntPtr>)

public static void ToPtrAndFree<T>(T structure, Action<IntPtr> action) where T : struct

Parameters

structure T
action Action<IntPtr>

Type Parameters

T

ToPtrAndFree<T, K>(T, Func<IntPtr, K>)

public static K ToPtrAndFree<T, K>(T structure, Func<IntPtr, K> action) where T : struct

Parameters

structure T
action Func<IntPtr, K>

Returns

K

Type Parameters

T
K