feat(api): use uintptr_t instead of intptr_t for pointers (#265)
Image methods now accept the `long` type instead of `int`, as they are expected to work with pointers as well.
This commit is contained in:
1 parent
473521edba
commit
c4c03bee9f
58 files changed
+303
-303
No files matched your search
+1
-1
@@ -1586,6 +1586,6 @@ public final class ImGuiFileDialog {
|
||||
}
|
||||
|
||||
private static native long nGetUserDatas(); /*
|
||||
return (intptr_t)ImGuiFileDialog::Instance()->GetUserDatas();
|
||||
return (uintptr_t)ImGuiFileDialog::Instance()->GetUserDatas();
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user