> home > Custom Layer Boundary API

push_buffer_unique_name

September 8th 2024
Get a copy of the unique name of a buffer

Signature

C++
String_Const_u8
push_buffer_unique_name(Application_Links* app,
                        Arena* out,
                        Buffer_ID buffer_id);

Parameters

app

the standard custom layer context pointer

out

the arena on which the returned string will be allocated

buffer_id

the id of the buffer to query

Return

the name assigned to the buffer by resolving duplicate names on success, when the buffer exists, otherwise an empty string