コード例 #1
0
        public static Barrista getInstance()
        {
            global::System.IntPtr cPtr = SharpMochaPINVOKE.Barrista_getInstance();
            Barrista ret = (cPtr == global::System.IntPtr.Zero) ? null : new Barrista(cPtr, false);

            return(ret);
        }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Barrista obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Barrista obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }