> home > Custom Layer Boundary API

push_buffer_base_name

January 19th 2020
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