Пример #1
0
 public static void Free(cef_window_info_t_linux* ptr)
 {
     if (ptr != null)
     {
         Marshal.FreeHGlobal((IntPtr)ptr);
     }
 }
Пример #2
0
        public static cef_window_info_t_linux *Alloc()
        {
            var ptr = (cef_window_info_t_linux *)Marshal.AllocHGlobal(_sizeof);

            *ptr = new cef_window_info_t_linux();
            return(ptr);
        }
Пример #3
0
 public static cef_window_info_t_linux* Alloc()
 {
     var ptr = (cef_window_info_t_linux*)Marshal.AllocHGlobal(_sizeof);
     *ptr = new cef_window_info_t_linux();
     return ptr;
 }