public static cef_window_info_t_mac *Alloc() { var ptr = (cef_window_info_t_mac *)Marshal.AllocHGlobal(_sizeof); *ptr = new cef_window_info_t_mac(); return(ptr); }
public static void Free(cef_window_info_t_mac* ptr) { if (ptr != null) { libcef.string_clear(&ptr->window_name); Marshal.FreeHGlobal((IntPtr)ptr); } }
public static cef_window_info_t_mac* Alloc() { var ptr = (cef_window_info_t_mac*)Marshal.AllocHGlobal(_sizeof); *ptr = new cef_window_info_t_mac(); return ptr; }