Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
val valThis(this, allow_raw_pointers());
val::global("console").call<void>("log", valThis); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For an Embind
class_
, is there a way to get the current JavaScript object (so JS'sthis
as anemscripten::val
) from the body of a method called by Embind?For example:
Beta Was this translation helpful? Give feedback.
All reactions