Ejemplo n.º 1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(patternT obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 2
0
 public bool MaterialMatch(ByteBuffer buf, SWIGTYPE_p_unsigned_char min, SWIGTYPE_p_unsigned_char max, patternT pattern, int minPly, int maxPly, int matchLength, bool oppBishops, bool sameBishops, int minDiff, int maxDiff) {
   bool ret = ScidPINVOKE.Game_MaterialMatch(swigCPtr, ByteBuffer.getCPtr(buf), SWIGTYPE_p_unsigned_char.getCPtr(min), SWIGTYPE_p_unsigned_char.getCPtr(max), patternT.getCPtr(pattern), minPly, maxPly, matchLength, oppBishops, sameBishops, minDiff, maxDiff);
   return ret;
 }