private DB_STREAM db_stream(uint flags, ref int err) { global::System.IntPtr cPtr = libdb_csharpPINVOKE.DBC_db_stream(swigCPtr, flags, ref err); DB_STREAM ret = (cPtr == global::System.IntPtr.Zero) ? null : new DB_STREAM(cPtr, false); return(ret); }
internal DB get_db() { global::System.IntPtr cPtr = libdb_csharpPINVOKE.DB_SEQUENCE_get_db(swigCPtr); DB ret = (cPtr == global::System.IntPtr.Zero) ? null : new DB(cPtr, false); return(ret); }
private DBC dup(uint flags, ref int err) { global::System.IntPtr cPtr = libdb_csharpPINVOKE.DBC_dup(swigCPtr, flags, ref err); DBC ret = (cPtr == global::System.IntPtr.Zero) ? null : new DBC(cPtr, false); return(ret); }
public void PropertyBufferSetData() { tlog.Debug(tag, $"PropertyBufferSetData START"); PropertyMap buffer = new PropertyMap(); Assert.IsNotNull(buffer, "should be not null"); Assert.IsInstanceOf <PropertyMap>(buffer, "should be an instance of PropertyMap class!"); buffer.Add("aIndex", new PropertyValue((int)PropertyType.Float)); buffer.Add("aValue", new PropertyValue((int)PropertyType.Float)); var testingTarget = new PropertyBuffer(buffer); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <PropertyBuffer>(testingTarget, "Should be an instance of PropertyBuffer class!"); try { global::System.IntPtr data = new global::System.IntPtr(); testingTarget.SetData(data, 0); } catch (Exception e) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString()); Assert.Fail("Caught Exception" + e.ToString()); } Assert.AreEqual(0, testingTarget.GetSize(), "Should be Equal."); testingTarget.Dispose(); buffer.Dispose(); tlog.Debug(tag, $"PropertyBufferSetData END (OK)"); }
internal DB_ENV env() { global::System.IntPtr cPtr = libdb_csharpPINVOKE.DB_env(swigCPtr); DB_ENV ret = (cPtr == global::System.IntPtr.Zero) ? null : new DB_ENV(cPtr, false); return(ret); }
private DBC cursor(DB_TXN txn, uint flags, ref int err) { global::System.IntPtr cPtr = libdb_csharpPINVOKE.DB_cursor(swigCPtr, DB_TXN.getCPtr(txn), flags, ref err); DBC ret = (cPtr == global::System.IntPtr.Zero) ? null : new DBC(cPtr, false); return(ret); }
private DBC join(IntPtr[] curslist, uint flags, ref int err) { global::System.IntPtr cPtr = libdb_csharpPINVOKE.DB_join(swigCPtr, curslist, flags, ref err); DBC ret = (cPtr == global::System.IntPtr.Zero) ? null : new DBC(cPtr, false); return(ret); }
static internal void SetResult(global::System.IntPtr data, bool res) { Interop.DoGestureSignal.SetResult(data, res); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
static internal string ConvertParam1(global::System.IntPtr data) { string result = Interop.StringToVoidSignal.ConvertParam1(data); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
static internal bool GetResult(global::System.IntPtr data) { bool ret = Interop.DoGestureSignal.GetResult(data); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void ColorGetColorFromPtr() { tlog.Debug(tag, $"ColorGetColorFromPtr START"); using (Color color = Color.Cyan) { global::System.IntPtr cPtr = (global::System.IntPtr)Color.getCPtr(color); var testingTarget = Color.GetColorFromPtr(cPtr); Assert.IsNotNull(testingTarget, "null handle"); Assert.IsInstanceOf <Color>(testingTarget, "Should return Color instance."); testingTarget.Dispose(); } tlog.Debug(tag, $"ColorGetColorFromPtr END (OK)"); }
public void NUIApplicationAppControlEventArgsVoidPSet() { tlog.Debug(tag, $"NUIApplicationAppControlEventArgsVoidPSet START"); var dummy = new global::System.IntPtr(0); var testingTarget = new NUIApplicationAppControlEventArgs(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <NUIApplicationAppControlEventArgs>(testingTarget, "should be an instance of testing target class!"); testingTarget.VoidP = dummy; var result = testingTarget.VoidP; Assert.IsNotNull(testingTarget, "should be not null"); Assert.AreEqual(dummy, result, "Retrieved result should be equal to dummy."); tlog.Debug(tag, $"NUIApplicationAppControlEventArgsVoidPSet END (OK)"); }
public MyWebContextMenu(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyWebCertificate(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyConnectionTrackerInterface(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
internal TimePeriod(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyPageFactory(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
internal GLWindow(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.GLWindow.GlWindow_SWIGUpcast(cPtr), cMemoryOwn) { }
internal StringToVoidSignal(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
internal DB_SEQUENCE(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); }
public MyWebHttpRequestInterceptor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyWatchApplication(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyCustomActorImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyWebPasswordDataList(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyWebFormRepostPolicyDecisionMaker(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyComponentApplication(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
internal EncodedImageBuffer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyItemLayout(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyWebConsoleMessage(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { }
public MyCameraView(global::System.IntPtr handle, DisplayType type = DisplayType.Window) : base(handle, type) { }