enum GICrystal::Transfer

Overview

How the memory ownership is transfered (or not) from C to Crystal and vice-versa.

Defined in:

lib/gi-crystal/src/gi-crystal.cr

Enum Members

None = 0

Transfer nothing from the callee (function or the type instance the property belongs to) to the caller.

Container = 1

Transfer the container (list, array, hash table) from the callee to the caller.

Full = 2

Transfer everything, e.g. the container and its contents from the callee to the caller.

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def container? #

[View source]
def full? #

[View source]
def none? #

[View source]