getAllocatorWithDefaultOptions method

Pointer<OrtStatus> getAllocatorWithDefaultOptions(
  1. Pointer<Pointer<OrtAllocator>> out
)

Implementation

Pointer<OrtStatus> getAllocatorWithDefaultOptions(
  Pointer<Pointer<OrtAllocator>> out,
) {
  final getAllocatorWithDefaultOptionsFn =
      GetAllocatorWithDefaultOptions.asFunction<
        Pointer<OrtStatus> Function(Pointer<Pointer<OrtAllocator>>)
      >();
  final status = getAllocatorWithDefaultOptionsFn(out);
  return status;
}