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
@@ -973,7 +973,7 @@ public final class ImPlot {
|
||||
*/
|
||||
@BindingMethod
|
||||
public static native void PlotImage(String labelId,
|
||||
@ArgValue(callPrefix = "(ImTextureID)(intptr_t)") int userTextureId,
|
||||
@ArgValue(callPrefix = "(ImTextureID)(uintptr_t)") long userTextureId,
|
||||
ImPlotPoint boundsMin,
|
||||
ImPlotPoint boundsMax,
|
||||
@OptArg ImVec2 uv0,
|
||||
|
||||
Reference in new issue
Block a user