> home > Custom Layer Boundary API

buffer_get_layout

September 8th 2024
Retrieve the layout rule of a buffer

Signature

C++
Layout_Function*
buffer_get_layout(Application_Links* app,
                  Buffer_ID buffer_id);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to query

Return

a pointer to the function specifying the buffer's layout rule on success, when the buffer exists, zero otherwise