public bool save(MgJsonFile file) { bool ret = touchvgPINVOKE.MgJsonStorage_save__SWIG_1(swigCPtr, MgJsonFile.getCPtr(file)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MgStorage storageForRead(MgJsonFile file) { global::System.IntPtr cPtr = touchvgPINVOKE.MgJsonStorage_storageForRead__SWIG_1(swigCPtr, MgJsonFile.getCPtr(file)); MgStorage ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgStorage(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgJsonFile obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgJsonFile obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public bool save(MgJsonFile file) { bool ret = touchvgPINVOKE.MgJsonStorage_save__SWIG_1(swigCPtr, MgJsonFile.getCPtr(file)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public MgStorage storageForRead(MgJsonFile file) { global::System.IntPtr cPtr = touchvgPINVOKE.MgJsonStorage_storageForRead__SWIG_1(swigCPtr, MgJsonFile.getCPtr(file)); MgStorage ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgStorage(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }