buffer_get_setting
September 8th 2024
Retrieve a core setting of a buffer
Signature
b32
buffer_get_setting(Application_Links* app,
Buffer_ID buffer_id,
Buffer_Setting_ID setting,
i64* value_out);
Parameters
app
the standard custom layer context pointer
buffer_id
the id of the buffer to query
setting
the id of the setting to query
value_out
the output destination of the setting's value
Return
non-zero on success, when the buffer and setting exist, zero otherwise
Related