edaxHintNext method

Hint edaxHintNext()

Get a hint.

Call edaxHintPrepare before calling this function.
If there are no more hints, hint.isNoMove will be true.

Implementation

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