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); }