edaxHintNextNoMultiPvDepth method

Hint edaxHintNextNoMultiPvDepth()

Get a hint.

Call edaxHintPrepare before calling this function.
If there are no more hints, hint.isNoMove will be true.
This function doesn't use Multi-PV search for analyze usecase. This can be faster than edaxHintNext.

Implementation

@useResult
Hint edaxHintNextNoMultiPvDepth() {
  return using((Arena arena) {
    final dst = arena<bindings.Hint>();
    _bindings.edax_hint_next_no_multipv_depth(dst);
    final hint = Hint.fromCStruct(dst.ref);
    return hint;
  });
}