DenoDDeno
Powered by
xiaoasX
Denoβ€’2y 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
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
SetNativeDataProperty
&
SetHandler(NamedPropertyHandlerConfiguration(MapGet, MapSet))
SetHandler(NamedPropertyHandlerConfiguration(MapGet, MapSet))
were used. Is it possible to do the same in rusty_v8?
GitHub
rusty_v8/examples/process.rs at main Β· denoland/rusty_v8
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
v8/samples/process.cc at main Β· v8/v8
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
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to build rusty_v8 with old v8 version?
RaefkoRRaefko / help
3y ago
rusty_v8 - how to pass data from js/v8 into rust
WereiiWWereii / help
3y ago
rusty_v8, how to mutate scope outside anonymous function
NitwelNNitwel / help
2y ago