From 38f85ad8c53c618033e3d0b7cb1fe782c38cf0a3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Oct 2022 22:11:35 -0400 Subject: Add SerdCaret --- src/caret.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/caret.h (limited to 'src/caret.h') 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 +// 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 -- cgit v1.2.1