Files
lserp_cs_5.0/插件库/Cef3.24/Interop/Base/cef_base_t.cs
T
2026-07-10 15:25:05 +08:00

36 lines
969 B
C#

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);
}
}