IBatchCompletionState constructor

IBatchCompletionState(
  1. FbInterface self
)

Implementation

IBatchCompletionState(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 4;
  var idx = startIndex;
  _getSize =
      Pointer<
            NativeFunction<UnsignedInt Function(FbInterface, FbInterface)>
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getState =
      Pointer<
            NativeFunction<
              Int Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _findError =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getStatus =
      Pointer<
            NativeFunction<
              Void Function(
                FbInterface,
                FbInterface,
                FbInterface,
                UnsignedInt,
              )
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
}