From 405da5f84b072ea97b69359454899f45d92d24b6 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 22 May 2024 00:00:29 +0200 Subject: WIP LSP client This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default. --- src/dged/buffer.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/dged/buffer.h') diff --git a/src/dged/buffer.h b/src/dged/buffer.h index c9fe2ca..0e45b98 100644 --- a/src/dged/buffer.h +++ b/src/dged/buffer.h @@ -65,8 +65,8 @@ struct buffer { bool force_show_ws_off; }; -void buffer_static_init(); -void buffer_static_teardown(); +void buffer_static_init(void); +void buffer_static_teardown(void); /** * Create a new buffer. @@ -689,11 +689,6 @@ uint32_t buffer_add_create_hook(create_hook_cb callback, void *userdata); */ void buffer_remove_create_hook(uint32_t hook_id, remove_hook_cb callback); -/** - * Parameters for updating a buffer. - */ -struct buffer_update_params {}; - /** * Parameters for rendering a buffer. */ @@ -716,11 +711,8 @@ struct buffer_render_params { * Update a buffer. * * @param [in] buffer The buffer to update. - * @param [inout] params The parameters for the update. The @ref commands field - * in @p params will be modified with the rendering commands needed for this - * buffer. */ -void buffer_update(struct buffer *buffer, struct buffer_update_params *params); +void buffer_update(struct buffer *buffer); /** * Render a buffer. -- cgit v1.2.3