Chromium Embedded Framework (CEF)  116.0.6+gc182ee2+chromium-116.0.5845.10
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: