예제 #1
0
        public static cef_main_args_t_windows *Alloc()
        {
            var ptr = (cef_main_args_t_windows *)Marshal.AllocHGlobal(_sizeof);

            *ptr = new cef_main_args_t_windows();
            return(ptr);
        }
예제 #2
0
 public static void Free(cef_main_args_t_windows* ptr)
 {
     Marshal.FreeHGlobal((IntPtr)ptr);
 }
예제 #3
0
 public static cef_main_args_t_windows* Alloc()
 {
     var ptr = (cef_main_args_t_windows*)Marshal.AllocHGlobal(_sizeof);
     *ptr = new cef_main_args_t_windows();
     return ptr;
 }