public virtual int Call0(ContextHandle handle, PlTermV termV) { bool res = handle.Call(termV); bool more = handle.HasMore(); if (more) { libpl.PL_retry(handle.Handle); return(res ? 3 : 0); } return(res ? 1 : 0); }
public virtual int Call0(ContextHandle handle, PlTermV termV) { bool res = handle.Call(termV); bool more = handle.HasMore(); if (more) { libpl.PL_retry(handle.Handle); return res ? 3 : 0; } return res ? 1 : 0; }