diff options
author | David Robillard <d@drobilla.net> | 2022-10-23 22:11:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 38f85ad8c53c618033e3d0b7cb1fe782c38cf0a3 (patch) | |
tree | 8f5f1e7be38d98c9e354a67bdf7b94a3e35c3a60 /src/caret.h | |
parent | 3b89559e4c08202bee228e25ea42a4371e333c9b (diff) | |
download | serd-38f85ad8c53c618033e3d0b7cb1fe782c38cf0a3.tar.gz serd-38f85ad8c53c618033e3d0b7cb1fe782c38cf0a3.tar.bz2 serd-38f85ad8c53c618033e3d0b7cb1fe782c38cf0a3.zip |
Add SerdCaret
Diffstat (limited to 'src/caret.h')
-rw-r--r-- | src/caret.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/caret.h b/src/caret.h new file mode 100644 index 00000000..85b4b4b1 --- /dev/null +++ b/src/caret.h @@ -0,0 +1,15 @@ +// Copyright 2018-2020 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#ifndef SERD_SRC_CARET_H +#define SERD_SRC_CARET_H + +#include "serd/node.h" + +struct SerdCaretImpl { + const SerdNode* document; + unsigned line; + unsigned col; +}; + +#endif // SERD_SRC_CARET_H |