remove const
This commit is contained in:
@@ -731,13 +731,6 @@ JSC_SCALL(imgui_barplot,
|
||||
ImPlot::PlotBars(str, &plotdata[0].x, &plotdata[0].y, JS_ArrayLength(js, argv[1]), js2number(js, argv[2]), 0, 0, sizeof(ImVec2));
|
||||
)
|
||||
|
||||
JSC_SCALL(imgui_histogramplot,
|
||||
size_t offset, len, per_e;
|
||||
JSValue typed = JS_GetTypedArrayBuffer(js, argv[1], &offset, &len, &per_e);
|
||||
ImPlot::PlotHistogram(str, js_get_blob_data(js, NULL, typed), JS_ArrayLength(js, argv[1]));
|
||||
JS_FreeValue(js, typed);
|
||||
)
|
||||
|
||||
JSC_SCALL(imgui_textplot,
|
||||
ImVec2 c = js2imvec2(js, argv[1]);
|
||||
ImPlot::PlotText(str, c.x, c.y);
|
||||
|
||||
Reference in New Issue
Block a user