> home > Custom Layer Boundary API

push_buffer_base_name

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

Signature

C++
String_Const_u8
push_buffer_base_name(Application_Links* app,
                      Arena* arena,
                      Buffer_ID buffer_id);

Parameters

app

the standard custom layer context pointer

arena

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 when it was created on success, when the buffer exists, otherwise an empty string