push_buffer_file_name
September 8th 2024
Get a copy of the file name of a buffer
Signature
String_Const_u8
push_buffer_file_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 of the file attached to the buffer when it was created, when the buffer exists and has an attached file, otherwise an empty string