diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 23:50:50 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 23:50:50 -0500 |
commit | 3756a3e47221c3b0133724a482341a9010076a9e (patch) | |
tree | 7ad68fd0b76bd0e132fd86cd5044c3e08d581d22 /lsp.c | |
parent | 4e73c6a204383667aad6ce3905e16aee2a172fb6 (diff) |
read workspace/symbols containerName
Diffstat (limited to 'lsp.c')
-rw-r--r-- | lsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -439,6 +439,8 @@ const char *lsp_document_path(LSP *lsp, LSPDocumentID document) { assert(0); return ""; } + // it's okay to keep a pointer to this around without the mutex locked + // we'll never change the path of a document ID. const char *path = lsp->document_data[document].path; SDL_UnlockMutex(lsp->document_mutex); return path; |