namespace Cef3.Interop { using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security; using System.Text; [StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)] internal unsafe struct cef_base_t { internal UIntPtr _size; internal IntPtr _add_ref; internal IntPtr _release; internal IntPtr _has_one_ref; [UnmanagedFunctionPointer(libcef.CEF_CALLBACK)] #if !DEBUG [SuppressUnmanagedCodeSecurity] #endif public delegate void add_ref_delegate(cef_base_t* self); [UnmanagedFunctionPointer(libcef.CEF_CALLBACK)] #if !DEBUG [SuppressUnmanagedCodeSecurity] #endif public delegate int release_delegate(cef_base_t* self); [UnmanagedFunctionPointer(libcef.CEF_CALLBACK)] #if !DEBUG [SuppressUnmanagedCodeSecurity] #endif public delegate int has_one_ref_delegate(cef_base_t* self); } }