MonoGCBridgeCallbacks

extern (C) nothrow
struct MonoGCBridgeCallbacks {
int bridge_version;
void function(int num_sccs, MonoGCBridgeSCC** sccs, int num_xrefs, MonoGCBridgeXRef* xrefs) cross_references;
}

Members

Variables

bridge_class_kind
MonoGCBridgeObjectKind function(MonoClass* klass) bridge_class_kind;

Tells the runtime which classes to even consider when looking for bridged objects. If subclasses are to be considered as well, the subclass check must be done in the callback.

is_bridge_object
mono_bool function(MonoObject* object) is_bridge_object;

This is only called on objects for whose classes bridge_class_kind() returned XXX_BRIDGE_CLASS.

Meta