Upravit

Sdílet prostřednictvím


BlockFlags Enum

Definition

Flags for the BlockLiteral enum.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum BlockFlags
type BlockFlags = 
Inheritance
BlockFlags
Attributes

Fields

Name Value Description
BLOCK_REFCOUNT_MASK 65535

Objective-C Block ABI Flags.

BLOCK_NEEDS_FREE 16777216

Objective-C Block ABI Flags.

BLOCK_HAS_COPY_DISPOSE 33554432

Objective-C Block ABI Flags

BLOCK_HAS_CTOR 67108864

Objective-C Block ABI Flags

BLOCK_IS_GC 134217728

Objective-C Block ABI Flags.

BLOCK_IS_GLOBAL 268435456

Objective-C Block ABI Flags.

BLOCK_HAS_DESCRIPTOR 536870912

Whether the block_descriptor field is filled in.

BLOCK_HAS_STRET 536870912

Objective-C Block ABI Flags.

BLOCK_HAS_SIGNATURE 1073741824

Objective-C Block ABI Flags

Remarks

Xamarin.iOS as of version 12.0 only uses the flags BlockFlags.BLOCK_HAS_COPY_DISPOSE | BlockFlags.BLOCK_HAS_SIGNATURE for its blocks.

See Block ABI for more detailed information about the Block ABI.

Applies to