Skip to content

Set engine in WrapObjectHandler #1579

Answered by lahma
loonwong asked this question in Q&A
Jul 6, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

I think ideally everything would just work without you manually creating wrappers. Jint tries hard to get the interop right and automatically convert between suitable types + allows you to create the converters needed. So I would just use ClrUnderlyingObject directly as type injected to engine and ensure proper conversions when/if needed via type converters.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@loonwong
Comment options

@loonwong
Comment options

@lahma
Comment options

@loonwong
Comment options

Answer selected by loonwong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1578 on July 06, 2023 03:34.