Chromium Embedded Framework (CEF)  115.2.0+g096e3eb+chromium-115.0.5790.13
cef_string_wide_t Struct Reference

CEF string type definitions. More...

#include "include/internal/cef_string_types.h"

Public Attributes

wchar_t * str
 
size_t length
 
void(* dtor )(wchar_t *str)
 

Detailed Description

CEF string type definitions.

Whomever allocates |str| is responsible for providing an appropriate |dtor| implementation that will free the string in the same memory space. When reusing an existing string structure make sure to call |dtor| for the old value before assigning new |str| and |dtor| values. Static strings will have a NULL |dtor| value. Using the below functions if you want this managed for you.

Member Data Documentation

◆ dtor

void(* cef_string_wide_t::dtor) (wchar_t *str)

◆ length

size_t cef_string_wide_t::length

◆ str

wchar_t* cef_string_wide_t::str

The documentation for this struct was generated from the following file: