예제 #1
0
파일: treeT.cs 프로젝트: pbbwfc/ScidNET
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(treeT obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #2
0
 public treeT getTree() {
   treeT ret = new treeT(ScidPINVOKE.cachedTreeT_getTree(swigCPtr), false);
   return ret;
 }
예제 #3
0
파일: TreeCache.cs 프로젝트: pbbwfc/ScidNET
 public bool Add(SWIGTYPE_p_Position pos, treeT tree, SWIGTYPE_p_Filter filter) {
   bool ret = ScidPINVOKE.TreeCache_Add(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), treeT.getCPtr(tree), SWIGTYPE_p_Filter.getCPtr(filter));
   return ret;
 }
예제 #4
0
 public void set(SWIGTYPE_p_Position pos, treeT tree, SWIGTYPE_p_Filter filter, SWIGTYPE_p_uint32_t time) {
   ScidPINVOKE.cachedTreeT_set(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), treeT.getCPtr(tree), SWIGTYPE_p_Filter.getCPtr(filter), SWIGTYPE_p_uint32_t.getCPtr(time));
   if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve();
 }