Table of Contents

Class Schema

Namespace
Secret.Internal
Assembly
Secret-1.dll
public class Schema
Inheritance
Schema
Inherited Members

Methods

GetGType()

Calls native function secret_schema_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, SchemaFlags, HashTableHandle)

Calls native constructor secret_schema_newv.

public static extern SchemaOwnedHandle New(NonNullableUtf8StringHandle name, SchemaFlags flags, HashTableHandle attributeNamesAndTypes)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

flags SchemaFlags

Transfer ownership: None Nullable: False

attributeNamesAndTypes HashTableHandle

Transfer ownership: None Nullable: False

Returns

SchemaOwnedHandle

Transfer ownership: Full Nullable: False

Ref(SchemaHandle)

Calls native method secret_schema_ref.

public static extern SchemaOwnedHandle Ref(SchemaHandle schema)

Parameters

schema SchemaHandle

Transfer ownership: None Nullable: False

Returns

SchemaOwnedHandle

Transfer ownership: Full Nullable: False

Unref(SchemaHandle)

Calls native method secret_schema_unref.

public static extern void Unref(SchemaHandle schema)

Parameters

schema SchemaHandle

Transfer ownership: None Nullable: False