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

Hint edaxHintNext() {
  final dst = calloc<bindings.Hint>();
  _bindings.edax_hint_next(dst);
  final hint = Hint.fromCStruct(dst.ref);
  calloc.free(dst);
  return hint;
}