diff options
Diffstat (limited to 'bindings/c')
-rw-r--r-- | bindings/c/tree-sitter-gsp.h | 16 | ||||
-rw-r--r-- | bindings/c/tree-sitter-gsp.pc.in | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/bindings/c/tree-sitter-gsp.h b/bindings/c/tree-sitter-gsp.h new file mode 100644 index 0000000..8f23915 --- /dev/null +++ b/bindings/c/tree-sitter-gsp.h @@ -0,0 +1,16 @@ +#ifndef TREE_SITTER_GSP_H_ +#define TREE_SITTER_GSP_H_ + +typedef struct TSLanguage TSLanguage; + +#ifdef __cplusplus +extern "C" { +#endif + +const TSLanguage *tree_sitter_gsp(void); + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_GSP_H_ diff --git a/bindings/c/tree-sitter-gsp.pc.in b/bindings/c/tree-sitter-gsp.pc.in new file mode 100644 index 0000000..ba931d8 --- /dev/null +++ b/bindings/c/tree-sitter-gsp.pc.in @@ -0,0 +1,11 @@ +prefix=@PREFIX@ +libdir=@LIBDIR@ +includedir=@INCLUDEDIR@ + +Name: tree-sitter-gsp +Description: Gsp grammar for tree-sitter +URL: @URL@ +Version: @VERSION@ +Requires: @REQUIRES@ +Libs: -L${libdir} @ADDITIONAL_LIBS@ -ltree-sitter-gsp +Cflags: -I${includedir} |