mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
API: Refactor: Register/unregister created/destroyed buffers
- Add the 'handle' field to `buf_T` - Add declare/implement functions for registering/unregistering/retrieving buffers - Register/unregister buffers when they are created/destroyed.
This commit is contained in:
@@ -401,6 +401,7 @@ typedef struct {
|
||||
*/
|
||||
|
||||
struct file_buffer {
|
||||
uint64_t handle; // unique identifier for the buffer
|
||||
memline_T b_ml; /* associated memline (also contains line
|
||||
count) */
|
||||
|
||||
|
Reference in New Issue
Block a user