xiaoasX
Deno16mo ago
1 reply
xiaoas

How to use set_internal_field of rusty v8?

After checking the process demo it seems that
set_internal_field_count
was called, but no actual value was set.

So I'm wondering
1. is it possible to use this feature in rusty_v8?
2. In the cpp example
SetNativeDataProperty
&
SetHandler(NamedPropertyHandlerConfiguration(MapGet, MapSet))
were used. Is it possible to do the same in rusty_v8?
GitHub
Rust bindings for the V8 JavaScript engine. Contribute to denoland/rusty_v8 development by creating an account on GitHub.
rusty_v8/examples/process.rs at main · denoland/rusty_v8
GitHub
The official mirror of the V8 Git repository. Contribute to v8/v8 development by creating an account on GitHub.
v8/samples/process.cc at main · v8/v8
Was this page helpful?