Example #1
0
        public MochaWindow GetFocusedWnd()
        {
            global::System.IntPtr cPtr = SharpMochaPINVOKE.Engine_GetFocusedWnd(swigCPtr);
            MochaWindow           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MochaWindow(cPtr, false);

            return(ret);
        }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MochaWindow 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(MochaWindow obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }