Skip to content

Commit

Permalink
1.67
Browse files Browse the repository at this point in the history
  • Loading branch information
MORIMORI0317 committed Oct 18, 2022
1 parent e01e9b0 commit a4b8367
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/src/main/java/dev/felnull/fnjl/FNJLBuildIn.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package dev.felnull.fnjl;

public class FNJLBuildIn {
protected static final String VERSION = "1.66";
protected static final String VERSION = "1.67";
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ public void runTasks() {
tasks.poll().run();
}

/**
* タスクを実行する
*
* @param max 実行する最大タスク数
*/
public void runTasks(int max) {
int ct = 0;
while (!tasks.isEmpty()) {
tasks.poll().run();
ct++;
if (ct >= max)
break;
}
}

/**
* 現在の実行待ちタスクの数
*
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fnjl_group=dev.felnull
fnjl_name=felnull-java-library
fnjl_version=1.66
fnjl_version=1.67
2 changes: 1 addition & 1 deletion natives/src/main/java/dev/felnull/fnjln/FNJLNBuildIn.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package dev.felnull.fnjln;

public class FNJLNBuildIn {
protected static final String VERSION = "1.66";
protected static final String VERSION = "1.67";

protected static final int NATIVE_LIBRARY_VERSION = 1;
}

0 comments on commit a4b8367

Please sign in to comment.