Skip to content

Commit dce574e

Browse files
committed
Rename ImGui#touch to ImGui#init
1 parent 7bfa1b6 commit dce574e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

imgui-binding/src/main/java/imgui/ImGui.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private static String tryLoadFromClasspath(final String fullLibName) {
104104
* Method is used to initiate static instantiation (loading of the native libraries etc.).
105105
* Otherwise native libraries will be loaded on demand and natively mapped objects won't work.
106106
*/
107-
public static void touch() {
107+
public static void init() {
108108
}
109109

110110
private ImGui() {

imgui-binding/src/main/java/imgui/binding/ImGuiStruct.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public abstract class ImGuiStruct {
1212
public long ptr;
1313

1414
public ImGuiStruct(final long ptr) {
15-
ImGui.touch();
15+
ImGui.init();
1616
this.ptr = ptr;
1717
}
1818
}

0 commit comments

Comments
 (0)