Skip to content

Commit c8a495d

Browse files
0.5.0
1 parent f1de4aa commit c8a495d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* replaced EsScript with js_utils::Script
44
* replaced ScriptPreProcessor with js_utils::ScriptPreProcessor
55
* replaced EsError with js_utils::JsError
6-
* implemented utils::js_utils (generic adapters and facades)
6+
* implemented utils::js_utils (generic adapters and facades, see [the green copper plan](https://github.com/HiRoFa/GreenCopperRuntime/blob/main/README.md#roadmap--the-plan) for what's this all about)
77
* changes to function definitions
88
* fixed interrupt handler
99

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "quickjs_runtime"
3-
version = "0.4.2"
3+
version = "0.5.0"
44
authors = ["Andries Hiemstra <info@hirofa.com>"]
55
edition = "2018"
66
description = "Wrapper API and utils for the QuickJS JavaScript engine"
@@ -16,9 +16,9 @@ categories = ["development-tools"]
1616
tokio_full = ["tokio/full"]
1717

1818
[dependencies]
19-
#hirofa_utils = "0.1"
19+
hirofa_utils = "0.2"
2020
#hirofa_utils = {path="../utils"}
21-
hirofa_utils = {git="https://github.com/HiRoFa/utils"}
21+
#hirofa_utils = {git="https://github.com/HiRoFa/utils"}
2222
backtrace = "0.3.56"
2323
libquickjs-sys = "0.9.0"
2424
lazy_static = "1.4.0"

src/esruntime.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ impl JsRuntimeFacade for EsRuntime {
653653
.collect::<Vec<&str>>();
654654

655655
let res = realm
656-
.js_function_invoke(
656+
.js_function_invoke_by_name(
657657
namespace.as_slice(),
658658
movable_method_name.as_str(),
659659
args_adapters.as_slice(),
@@ -692,7 +692,7 @@ impl JsRuntimeFacade for EsRuntime {
692692
.collect::<Vec<&str>>();
693693

694694
let res = realm
695-
.js_function_invoke(
695+
.js_function_invoke_by_name(
696696
namespace.as_slice(),
697697
movable_method_name.as_str(),
698698
args_adapters.as_slice(),
@@ -730,7 +730,7 @@ impl JsRuntimeFacade for EsRuntime {
730730
.collect::<Vec<&str>>();
731731

732732
let res = realm
733-
.js_function_invoke(
733+
.js_function_invoke_by_name(
734734
namespace.as_slice(),
735735
movable_method_name.as_str(),
736736
args_adapters.as_slice(),

src/quickjscontext.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ impl JsRealmAdapter for QuickJsContext {
383383
objects::get_namespace_q(self, namespace_vec, true)
384384
}
385385

386-
fn js_function_invoke(
386+
fn js_function_invoke_by_name(
387387
&self,
388388
namespace: &[&str],
389389
method_name: &str,
@@ -396,7 +396,7 @@ impl JsRealmAdapter for QuickJsContext {
396396
self.call_function(ns_vec, method_name, args_vec)
397397
}
398398

399-
fn js_function_invoke2(
399+
fn js_function_invoke_member_by_name(
400400
&self,
401401
this_obj: &JSValueRef,
402402
method_name: &str,
@@ -406,7 +406,7 @@ impl JsRealmAdapter for QuickJsContext {
406406
functions::invoke_member_function_q(self, this_obj, method_name, args_vec)
407407
}
408408

409-
fn js_function_invoke3(
409+
fn js_function_invoke(
410410
&self,
411411
this_obj: Option<&JSValueRef>,
412412
function_obj: &JSValueRef,

0 commit comments

Comments
 (0)