From 1c163cacc80d3f76198104210a698ebeac8a69e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Thu, 1 Aug 2024 15:03:44 +0200 Subject: [PATCH] naming --- builtins/web/fetch/fetch-api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtins/web/fetch/fetch-api.cpp b/builtins/web/fetch/fetch-api.cpp index 7a982a7..8ee6cc7 100644 --- a/builtins/web/fetch/fetch-api.cpp +++ b/builtins/web/fetch/fetch-api.cpp @@ -102,13 +102,13 @@ bool fetch(JSContext *cx, unsigned argc, Value *vp) { return true; } -bool runEventLoopUntilInterest(JSContext *cx, unsigned argc, Value *vp) { +bool run_event_loop_until_interest(JSContext *cx, unsigned argc, Value *vp) { return ENGINE->run_event_loop_until_interest(); } const JSFunctionSpec methods[] = { JS_FN("fetch", fetch, 2, JSPROP_ENUMERATE), - JS_FN("runEventLoopUntilInterest", runEventLoopUntilInterest, 0, JSPROP_ENUMERATE), + JS_FN("runEventLoopUntilInterest", run_event_loop_until_interest, 0, JSPROP_ENUMERATE), JS_FS_END, };