aboutsummaryrefslogtreecommitdiff
path: root/src/tree_sitter/point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree_sitter/point.h')
-rw-r--r--src/tree_sitter/point.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tree_sitter/point.h b/src/tree_sitter/point.h
index 4d0aed18ef..a50d20214b 100644
--- a/src/tree_sitter/point.h
+++ b/src/tree_sitter/point.h
@@ -3,6 +3,7 @@
#include "tree_sitter/api.h"
+#define POINT_ZERO ((TSPoint) {0, 0})
#define POINT_MAX ((TSPoint) {UINT32_MAX, UINT32_MAX})
static inline TSPoint point__new(unsigned row, unsigned column) {