Haxe/cs API documentation

To get started with the Haxe cs target:


package cs

..
io
system
types
Char16

CsClass

The type argument must be a reference type. This constraint applies also to any class, interface, delegate, or array type.

CsStruct

The type argument must be a value type. Any value type except Nullable_1 can be specified.

Flags

Use this type to have access to the bitwise operators of C# enums that have a cs.system.FlagsAttribute attribute.

Int16

Int64

Int8

Lib

Platform-specific C# Library. Provides some platform-specific functions for the C# target, such as conversion from haxe types to native types and vice-versa.

NativeArray

Represents a C# fixed-size Array (T[])

Out

This type represents "out" types for C# function parameters. It only has effect on function parameters, and conversion to/from the referenced type is automatic.

Pointer

This type represents pointer types for C# function parameters. It should only be used inside an unsafe context (not checked by the Haxe compiler)

PointerAccess

Ref

This type represents "ref" types for C# function parameters. It only has effect on function parameters, and conversion to/from the referenced type is automatic.

UInt16

UInt64

UInt8