remove const

This commit is contained in:
2025-12-03 22:46:44 -06:00
parent 80a6e8ad26
commit f56a7e92e0
14 changed files with 126 additions and 46 deletions

View File

@@ -384,6 +384,7 @@ QJSCLASS(font,)
JSC_CCALL(staef_font_new,
size_t len;
void *data = js_get_blob_data(js, &len, argv[0]);
if (data == -1) return JS_EXCEPTION;
if (!data) return JS_ThrowReferenceError(js, "could not get array buffer data");
double height = js2number(js, argv[1]);