init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// This file manually written from cef/include/internal/cef_types.h.
|
||||
//
|
||||
namespace Cef3.Interop
|
||||
{
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)]
|
||||
internal unsafe struct cef_urlparts_t
|
||||
{
|
||||
public cef_string_t spec;
|
||||
public cef_string_t scheme;
|
||||
public cef_string_t username;
|
||||
public cef_string_t password;
|
||||
public cef_string_t host;
|
||||
public cef_string_t port;
|
||||
public cef_string_t origin;
|
||||
public cef_string_t path;
|
||||
public cef_string_t query;
|
||||
|
||||
internal static void Clear(cef_urlparts_t* self)
|
||||
{
|
||||
libcef.string_clear(&self->spec);
|
||||
libcef.string_clear(&self->scheme);
|
||||
libcef.string_clear(&self->username);
|
||||
libcef.string_clear(&self->password);
|
||||
libcef.string_clear(&self->host);
|
||||
libcef.string_clear(&self->port);
|
||||
libcef.string_clear(&self->origin);
|
||||
libcef.string_clear(&self->path);
|
||||
libcef.string_clear(&self->query);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user