ProtectedJniExtensions extension
Extensions for use by jnigen
generated code.
Static Methods
-
deleteFinalizableHandle(
Dart_FinalizableHandle finalizableHandle, Object object) → void -
ensureInitialized(
) → void - Initializes DartApiDL used for Continuations and interface implementation.
-
getCurrentIsolateId(
) → int -
newBooleanFinalizableHandle(
Object object, Pointer< Bool> reference) → Dart_FinalizableHandle -
newDartException(
Object exception) → Pointer< Void> - Returns a new DartException.
-
newJObjectFinalizableHandle(
Object object, Pointer< Void> reference, int refType) → Dart_FinalizableHandle -
newPortContinuation(
ReceivePort port) → JReference - Returns a new PortContinuation.
-
returnResult(
Pointer< CallbackResult> result, JObjectPtr object) → void - Returns the result of a callback.