Use autogenerated declarations

This commit is contained in:
KillTheMule 2018-05-10 14:25:59 +02:00
parent 491efc89d2
commit 8ef3fb4e73

View File

@ -3,14 +3,8 @@
#include "nvim/buffer_defs.h" #include "nvim/buffer_defs.h"
bool buf_updates_register(buf_T *buf, uint64_t channel_id, bool send_buffer); #ifdef INCLUDE_GENERATED_DECLARATIONS
void buf_updates_unregister(buf_T *buf, uint64_t channel_id); # include "buffer_updates.h.generated.h"
void buf_updates_unregister_all(buf_T *buf); #endif
void buf_updates_send_changes(buf_T *buf,
linenr_T firstline,
int64_t num_added,
int64_t num_removed,
bool send_tick);
void buf_updates_changedtick(buf_T *buf);
#endif // NVIM_BUFFER_UPDATES_H #endif // NVIM_BUFFER_UPDATES_H