> home > Custom Layer Boundary API

buffer_get_layout

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