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