Skip to content

Commit

Permalink
Fix csharp bindings (#2)
Browse files Browse the repository at this point in the history
* fix csharp bindings

* change version
  • Loading branch information
enginuity authored Aug 6, 2021
1 parent 9a127e9 commit e1504be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "ai.serenade"
version = "1.0.1"
version = "1.1.1"

repositories {
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion lib/ai_serenade_treesitter_Languages.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ JNIEXPORT jlong JNICALL Java_ai_serenade_treesitter_Languages_c(JNIEnv* env,
#ifdef TS_LANGUAGE_C_SHARP
extern "C" TSLanguage* tree_sitter_c_sharp();
JNIEXPORT jlong JNICALL
Java_ai_serenade_treesitter_Languages_c_sharp(JNIEnv* env, jclass self) {
Java_ai_serenade_treesitter_Languages_cSharp(JNIEnv* env, jclass self) {
return (jlong)tree_sitter_c_sharp();
}
#endif
Expand Down
4 changes: 2 additions & 2 deletions lib/ai_serenade_treesitter_Languages.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/java/ai/serenade/treesitter/Languages.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class Languages {

public static native long c();

public static native long c_sharp();
public static native long cSharp();

public static native long cpp();

Expand Down

0 comments on commit e1504be

Please sign in to comment.