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<nint>)

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

Parameters

structure T
action Action<nint>

Type Parameters

T

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

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

Parameters

structure T
action Func<nint, K>

Returns

K

Type Parameters

T
K