mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
refactor: eliminate cyclic includes
This commit is contained in:
@@ -4,13 +4,12 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct terminal Terminal;
|
||||
#include "nvim/api/private/defs.h" // IWYU pragma: keep
|
||||
|
||||
typedef void (*terminal_write_cb)(const char *buffer, size_t size, void *data);
|
||||
typedef void (*terminal_resize_cb)(uint16_t width, uint16_t height, void *data);
|
||||
typedef void (*terminal_close_cb)(void *data);
|
||||
|
||||
#include "nvim/buffer_defs.h" // IWYU pragma: keep
|
||||
|
||||
typedef struct {
|
||||
void *data; // PTY process channel
|
||||
uint16_t width, height;
|
||||
|
Reference in New Issue
Block a user