コード例 #1
0
        public static void init_from_string(cef_command_line_t *self, cef_string_t *command_line)
        {
            init_from_string_delegate d;
            var p = self->_init_from_string;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (init_from_string_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(init_from_string_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            d(self, command_line);
        }
コード例 #2
0
ファイル: cef_command_line_t.g.cs プロジェクト: rajsite/lvcef
 public static void init_from_string(cef_command_line_t* self, cef_string_t* command_line)
 {
     init_from_string_delegate d;
     var p = self->_init_from_string;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (init_from_string_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(init_from_string_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     d(self, command_line);
 }