Skip to main content

Module bindings

Module bindings 

Source
Expand description

Support code for bindings generated by hao-runtime-macros.

The generated thunk assembly has a static type THUNK_TYPE with methods f0, f1, … The first helper::COUNT are the helpers below, the rest wrap the bound methods. Every thunk returns void, takes its arguments followed by an optional pointer to the return value and a pointer that receives a GCHandle to any exception thrown. Objects are passed as GCHandles.

Modules§

helper

Structs§

BoundAssembly
A .NET assembly bound with hao_runtime_macros::bind!.
Object
An owned reference to a managed object.

Constants§

THUNK_TYPE