summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-29 22:45:37 -0500
committerpommicket <pommicket@gmail.com>2022-12-29 22:45:37 -0500
commitadbfd5f248d390ae73eb9da636a457ce770c9ac0 (patch)
tree5b989332e857cb2dc9078595d8a46f654a82928a /lsp.h
parent43eea17544e4bed4384c76d3d95be2c0688b9e27 (diff)
error LSPResponse member
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index b97df7d..7d45f5b 100644
--- a/lsp.h
+++ b/lsp.h
@@ -298,6 +298,7 @@ typedef struct {
typedef LSPRequestType LSPResponseType;
typedef struct {
LSPRequest request; // the request which this is a response to
+ char *error; // if not NULL, the data field will just be zeroed
// LSP responses tend to have a lot of strings.
// to avoid doing a ton of allocations+frees,
// they're all stored here.