public void CreateWidgetFunctionConstructorWithIntPtr() { tlog.Debug(tag, $"CreateWidgetFunctionConstructorWithIntPtr START"); using (View view = new View()) { var testingTarget = new CreateWidgetFunction(view.SwigCPtr.Handle); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <CreateWidgetFunction>(testingTarget, "Should be an Instance of CreateWidgetFunction!"); } tlog.Debug(tag, $"CreateWidgetFunctionConstructorWithIntPtr END (OK)"); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CreateWidgetFunction obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }