From 9b7bda28db0200b628e5f6eb7021a5a717db2e73 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 14 Dec 2025 19:59:18 +0100 Subject: Initial grammar --- bindings/c/tree-sitter-wmap.pc.in | 10 ++++++++++ bindings/c/tree_sitter/tree-sitter-wmap.h | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 bindings/c/tree-sitter-wmap.pc.in create mode 100644 bindings/c/tree_sitter/tree-sitter-wmap.h (limited to 'bindings/c') diff --git a/bindings/c/tree-sitter-wmap.pc.in b/bindings/c/tree-sitter-wmap.pc.in new file mode 100644 index 0000000..028c4a1 --- /dev/null +++ b/bindings/c/tree-sitter-wmap.pc.in @@ -0,0 +1,10 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ + +Name: tree-sitter-wmap +Description: @PROJECT_DESCRIPTION@ +URL: @PROJECT_HOMEPAGE_URL@ +Version: @PROJECT_VERSION@ +Libs: -L${libdir} -ltree-sitter-wmap +Cflags: -I${includedir} diff --git a/bindings/c/tree_sitter/tree-sitter-wmap.h b/bindings/c/tree_sitter/tree-sitter-wmap.h new file mode 100644 index 0000000..b477b35 --- /dev/null +++ b/bindings/c/tree_sitter/tree-sitter-wmap.h @@ -0,0 +1,16 @@ +#ifndef TREE_SITTER_WMAP_H_ +#define TREE_SITTER_WMAP_H_ + +typedef struct TSLanguage TSLanguage; + +#ifdef __cplusplus +extern "C" { +#endif + +const TSLanguage *tree_sitter_wmap(void); + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_WMAP_H_ -- cgit