Haxe/cpp API documentation

To get started with the Haxe cpp target:


package cpp

..
abi
cppia
link
net
objc
rtti
vm
zip
ArrayBase

AtomicInt

AutoCast

Callable

The generator intercepts this type and converts it to a cpp.Function on cpp.

CallableData

CastCharStar

Char

ConstCharStar

ConstPointer

ConstStar

Allows haxe to type the result correctly, and hxcpp can recognise this uses the correct type.

EnumBase

ErrorConstants

FILE

FastIterator

Finalizable

This is just a helper class. It is not actually required to inherit from this to use NativeGc.addFinalizable(this,inPin), only a function called finalize is needed.

Float32

Float64

Function

FunctionData

Int16

Int32

Int64

Int8

Lib

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

Native

NativeArc

NativeArray

NativeFile

NativeGc

NativeMath

NativeProcess

NativeRandom

NativeSocket

NativeSsl

NativeString

NativeSys

NativeVirtualArray

NativeXmlState

Object

ObjectType

Pointer

Prime

Random

RawConstPointer

RawPointer

Reference

Allows haxe to type result correctly, and hxcpp can recognise this and prevent unwanted casting.

SizeT

Star

Allows haxe to type result correctly, and hxcpp can recognise this use the correct type.

StdString

StdStringRef

Stdio

Stdlib

Struct

Wraps external types with a class that integrates with Dynamic.

UInt16

UInt32

UInt64

UInt8

VarArg

Allows haxe to type params correctly, and hxcpp can recognise this use the correct type.

VirtualArray

Void

Xml

XmlType