public static void Free(cef_window_info_t_linux *ptr) { if (ptr != null) { Marshal.FreeHGlobal((IntPtr)ptr); } }
public CefWindowInfoLinuxImpl(cef_window_info_t* ptr) : base(false) { if (CefRuntime.Platform != CefRuntimePlatform.Linux) throw new InvalidOperationException(); _self = (cef_window_info_t_linux*)ptr; }
public static void Free(cef_window_info_t_linux *ptr) { if (ptr != null) { libcef.string_clear(&ptr->window_name); Marshal.FreeHGlobal((IntPtr)ptr); } }
public CefWindowInfoLinuxImpl(cef_window_info_t *ptr) : base(false) { if (CefRuntime.Platform != CefRuntimePlatform.Linux) { throw new InvalidOperationException(); } _self = (cef_window_info_t_linux *)ptr; }
protected internal override void DisposeNativePointer() { cef_window_info_t_linux.Free(_self); _self = null; }
public CefWindowInfoLinuxImpl() : base(true) { _self = cef_window_info_t_linux.Alloc(); }
public CefWindowInfoLinuxImpl() : base(true) { _self = cef_window_info_t_linux.Alloc(); }
protected internal override void DisposeNativePointer() { cef_window_info_t_linux.Free(_self); _self = null; }