buffer_set_dirty_state
September 8th 2024
Set the dirty state of a buffer
Signature
b32
buffer_set_dirty_state(Application_Links* app,
Buffer_ID buffer_id,
Dirty_State dirty_state);
Parameters
app
the standard custom layer context pointer
buffer_id
the id of the buffer to be modified
dirty_state
the new value for the buffer's dirty state
Return
non-zero on success, when the buffer exists, otherwise zero
Related