Exemplo n.º 1
0
        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)");
        }
Exemplo n.º 2
0
 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);
 }