Table of Contents

Class PatternSpec

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class PatternSpec
Inheritance
PatternSpec
Inherited Members

Methods

Copy(PatternSpecHandle)

Calls native method g_pattern_spec_copy. Version: 2.70

[Version("2.70")]
public static extern PatternSpecOwnedHandle Copy(PatternSpecHandle pspec)

Parameters

pspec PatternSpecHandle

Transfer ownership: None Nullable: False

Returns

PatternSpecOwnedHandle

Transfer ownership: Full Nullable: False

Equal(PatternSpecHandle, PatternSpecHandle)

Calls native method g_pattern_spec_equal.

public static extern bool Equal(PatternSpecHandle pspec1, PatternSpecHandle pspec2)

Parameters

pspec1 PatternSpecHandle

Transfer ownership: None Nullable: False

pspec2 PatternSpecHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Free(PatternSpecHandle)

Calls native method g_pattern_spec_free.

public static extern void Free(PatternSpecHandle pspec)

Parameters

pspec PatternSpecHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_pattern_spec_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Match(PatternSpecHandle, nuint, NonNullableUtf8StringHandle, NullableUtf8StringHandle)

Calls native method g_pattern_spec_match. Version: 2.70

[Version("2.70")]
public static extern bool Match(PatternSpecHandle pspec, nuint stringLength, NonNullableUtf8StringHandle @string, NullableUtf8StringHandle stringReversed)

Parameters

pspec PatternSpecHandle

Transfer ownership: None Nullable: False

stringLength nuint

Transfer ownership: None Nullable: False

string NonNullableUtf8StringHandle
stringReversed NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

MatchString(PatternSpecHandle, NonNullableUtf8StringHandle)

Calls native method g_pattern_spec_match_string. Version: 2.70

[Version("2.70")]
public static extern bool MatchString(PatternSpecHandle pspec, NonNullableUtf8StringHandle @string)

Parameters

pspec PatternSpecHandle

Transfer ownership: None Nullable: False

string NonNullableUtf8StringHandle

Returns

bool

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle)

Calls native constructor g_pattern_spec_new.

public static extern PatternSpecOwnedHandle New(NonNullableUtf8StringHandle pattern)

Parameters

pattern NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

PatternSpecOwnedHandle

Transfer ownership: Full Nullable: False