Skip to content

Commit

Permalink
Turns out they're not nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jun 2, 2024
1 parent 480129c commit 1dd1f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/filedialogs/src/arc/filedialogs/FileDialogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static void loadNatives() throws UnsatisfiedLinkError{
new SharedLibraryLoader().load("arc-filedialogs");
}

public static native @Nullable String saveFileDialog(String title, String defaultPathAndFile, @Nullable String[] patterns, @Nullable String filterDescription); /*
public static native @Nullable String saveFileDialog(String title, String defaultPathAndFile, String[] patterns, String filterDescription); /*
const char *param[20];
jsize stringCount = 0;
if(patterns != NULL){
Expand All @@ -35,7 +35,7 @@ public static void loadNatives() throws UnsatisfiedLinkError{
return env->NewStringUTF(result);
*/

public static native @Nullable String openFileDialog(String title, String defaultPathAndFile, @Nullable String[] patterns, @Nullable String filterDescription, boolean allowMultipleSelects); /*
public static native @Nullable String openFileDialog(String title, String defaultPathAndFile, String[] patterns, String filterDescription, boolean allowMultipleSelects); /*
const char *param[20];
jsize stringCount = 0;
if(patterns != NULL){
Expand Down

0 comments on commit 1dd1f0c

Please sign in to comment.