Add better precompiler control

This commit is contained in:
2025-12-08 19:16:18 +00:00
parent 8fc6d63748
commit 136c546c1f
5 changed files with 23 additions and 6 deletions

View File

@@ -1,7 +1,11 @@
#pragma once
#ifndef TS_H
#define TS_H
#include "./editor.h"
#define HEX(s) (static_cast<uint32_t>(std::stoul(s, nullptr, 16)))
TSQuery *load_query(const char *query_path, Editor *editor);
void ts_collect_spans(Editor *editor);
#endif