Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
 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;
 }
Exemple #4
0
 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);
 }
Exemple #5
0
 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;
 }
Exemple #6
0
 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;
 }