fix: invalid ImPlot#PlotInfLines signature

fixes #339
This commit is contained in:
SpaiR committed 2025-07-22 09:21:41 +03:00
1 parent 35fc78dbd9
commit 2e78d9dfe7
2 files changed
+46 -46

No files matched your search

@@ -11751,25 +11751,25 @@ public final class ImPlot {
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final short[] values, final int count) {
nPlotInfLines(labelId, values, count);
public static void plotInfLines(final String labelId, final short[] values) {
nPlotInfLines(labelId, values);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final short[] values, final int count, final int flags) {
nPlotInfLines(labelId, values, count, flags);
public static void plotInfLines(final String labelId, final short[] values, final int flags) {
nPlotInfLines(labelId, values, flags);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final short[] values, final int count, final int flags, final int offset) {
nPlotInfLines(labelId, values, count, flags, offset);
public static void plotInfLines(final String labelId, final short[] values, final int flags, final int offset) {
nPlotInfLines(labelId, values, flags, offset);
}
private static native void nPlotInfLines(String labelId, short[] values, int count); /*MANUAL
private static native void nPlotInfLines(String labelId, short[] values); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (short*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values));
@@ -11777,7 +11777,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, short[] values, int count, int flags); /*MANUAL
private static native void nPlotInfLines(String labelId, short[] values, int flags); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (short*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags);
@@ -11785,7 +11785,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, short[] values, int count, int flags, int offset); /*MANUAL
private static native void nPlotInfLines(String labelId, short[] values, int flags, int offset); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (short*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags, offset);
@@ -11796,25 +11796,25 @@ public final class ImPlot {
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final int[] values, final int count) {
nPlotInfLines(labelId, values, count);
public static void plotInfLines(final String labelId, final int[] values) {
nPlotInfLines(labelId, values);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final int[] values, final int count, final int flags) {
nPlotInfLines(labelId, values, count, flags);
public static void plotInfLines(final String labelId, final int[] values, final int flags) {
nPlotInfLines(labelId, values, flags);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final int[] values, final int count, final int flags, final int offset) {
nPlotInfLines(labelId, values, count, flags, offset);
public static void plotInfLines(final String labelId, final int[] values, final int flags, final int offset) {
nPlotInfLines(labelId, values, flags, offset);
}
private static native void nPlotInfLines(String labelId, int[] values, int count); /*MANUAL
private static native void nPlotInfLines(String labelId, int[] values); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (int*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values));
@@ -11822,7 +11822,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, int[] values, int count, int flags); /*MANUAL
private static native void nPlotInfLines(String labelId, int[] values, int flags); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (int*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags);
@@ -11830,7 +11830,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, int[] values, int count, int flags, int offset); /*MANUAL
private static native void nPlotInfLines(String labelId, int[] values, int flags, int offset); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (int*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags, offset);
@@ -11841,25 +11841,25 @@ public final class ImPlot {
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final long[] values, final int count) {
nPlotInfLines(labelId, values, count);
public static void plotInfLines(final String labelId, final long[] values) {
nPlotInfLines(labelId, values);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final long[] values, final int count, final int flags) {
nPlotInfLines(labelId, values, count, flags);
public static void plotInfLines(final String labelId, final long[] values, final int flags) {
nPlotInfLines(labelId, values, flags);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final long[] values, final int count, final int flags, final int offset) {
nPlotInfLines(labelId, values, count, flags, offset);
public static void plotInfLines(final String labelId, final long[] values, final int flags, final int offset) {
nPlotInfLines(labelId, values, flags, offset);
}
private static native void nPlotInfLines(String labelId, long[] values, int count); /*MANUAL
private static native void nPlotInfLines(String labelId, long[] values); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (long*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values));
@@ -11867,7 +11867,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, long[] values, int count, int flags); /*MANUAL
private static native void nPlotInfLines(String labelId, long[] values, int flags); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (long*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags);
@@ -11875,7 +11875,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, long[] values, int count, int flags, int offset); /*MANUAL
private static native void nPlotInfLines(String labelId, long[] values, int flags, int offset); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (long*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags, offset);
@@ -11886,25 +11886,25 @@ public final class ImPlot {
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final float[] values, final int count) {
nPlotInfLines(labelId, values, count);
public static void plotInfLines(final String labelId, final float[] values) {
nPlotInfLines(labelId, values);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final float[] values, final int count, final int flags) {
nPlotInfLines(labelId, values, count, flags);
public static void plotInfLines(final String labelId, final float[] values, final int flags) {
nPlotInfLines(labelId, values, flags);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final float[] values, final int count, final int flags, final int offset) {
nPlotInfLines(labelId, values, count, flags, offset);
public static void plotInfLines(final String labelId, final float[] values, final int flags, final int offset) {
nPlotInfLines(labelId, values, flags, offset);
}
private static native void nPlotInfLines(String labelId, float[] values, int count); /*MANUAL
private static native void nPlotInfLines(String labelId, float[] values); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (float*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values));
@@ -11912,7 +11912,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, float[] values, int count, int flags); /*MANUAL
private static native void nPlotInfLines(String labelId, float[] values, int flags); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (float*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags);
@@ -11920,7 +11920,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, float[] values, int count, int flags, int offset); /*MANUAL
private static native void nPlotInfLines(String labelId, float[] values, int flags, int offset); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (float*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags, offset);
@@ -11931,25 +11931,25 @@ public final class ImPlot {
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final double[] values, final int count) {
nPlotInfLines(labelId, values, count);
public static void plotInfLines(final String labelId, final double[] values) {
nPlotInfLines(labelId, values);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final double[] values, final int count, final int flags) {
nPlotInfLines(labelId, values, count, flags);
public static void plotInfLines(final String labelId, final double[] values, final int flags) {
nPlotInfLines(labelId, values, flags);
}
/**
* Plots infinite vertical or horizontal lines (e.g. for references or asymptotes).
*/
public static void plotInfLines(final String labelId, final double[] values, final int count, final int flags, final int offset) {
nPlotInfLines(labelId, values, count, flags, offset);
public static void plotInfLines(final String labelId, final double[] values, final int flags, final int offset) {
nPlotInfLines(labelId, values, flags, offset);
}
private static native void nPlotInfLines(String labelId, double[] values, int count); /*MANUAL
private static native void nPlotInfLines(String labelId, double[] values); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (double*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values));
@@ -11957,7 +11957,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, double[] values, int count, int flags); /*MANUAL
private static native void nPlotInfLines(String labelId, double[] values, int flags); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (double*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags);
@@ -11965,7 +11965,7 @@ public final class ImPlot {
if (values != NULL) env->ReleasePrimitiveArrayCritical(obj_values, values, JNI_FALSE);
*/
private static native void nPlotInfLines(String labelId, double[] values, int count, int flags, int offset); /*MANUAL
private static native void nPlotInfLines(String labelId, double[] values, int flags, int offset); /*MANUAL
auto labelId = obj_labelId == NULL ? NULL : (char*)env->GetStringUTFChars(obj_labelId, JNI_FALSE);
auto values = obj_values == NULL ? NULL : (double*)env->GetPrimitiveArrayCritical(obj_values, JNI_FALSE);
ImPlot::PlotInfLines(labelId, &values[0], LEN(values), flags, offset);
@@ -812,7 +812,7 @@ public final class ImPlot {
@BindingMethod
public static native void PlotInfLines(String labelId,
@ArgVariant(type = {"short[]", "int[]", "long[]", "float[]", "double[]"}) Void values,
@ArgValue(callValue = "LEN(values)") int count,
@ArgValue(callValue = "LEN(values)") Void count,
@OptArg int flags,
@OptArg int offset);