| 1452 | } |
| 1453 | |
| 1454 | static JSValue js_std_file_printf(JSContext *ctx, JSValueConst this_val, |
| 1455 | int argc, JSValueConst *argv) |
| 1456 | { |
| 1457 | FILE *f = js_std_file_get(ctx, this_val); |
| 1458 | if (!f) |
| 1459 | return JS_EXCEPTION; |
| 1460 | return js_printf_internal(ctx, argc, argv, f); |
| 1461 | } |
| 1462 | |
| 1463 | static JSValue js_std_file_flush(JSContext *ctx, JSValueConst this_val, |
| 1464 | int argc, JSValueConst *argv) |
nothing calls this directly
no test coverage detected