mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Move jsValueToZig from Caller to the Scope
Caller is a transient object that exists only for calling Zig functions from JS. But jsValueToZig is more generally useful and can be used outside of an explicit JS call. The scope is a better place for these as it's generally referenced already by any code that would need to map values (i.e. a Callback).
This commit is contained in: