> home > Custom Layer Boundary API

buffer_reopen

January 19th 2020
Reload the content of a buffer from the the attached file

Signature

C++
Buffer_Reopen_Result
buffer_reopen(Application_Links* app,
              Buffer_ID buffer_id,
              Buffer_Reopen_Flag flags);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to reload

flags

flags controlling the behavior of the reload

Return

non-zero if the buffer exists and has an attached file that can be read, zero otherwise

Related

Buffer_Reopen_Flag