remove const
This commit is contained in:
1
staef.c
1
staef.c
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user