-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade android jsi headers to 0.71-stable #166
Conversation
android/V8Runtime_shared.cpp
Outdated
} | ||
|
||
std::shared_ptr<jsi::NativeState> V8Runtime::getNativeState(const jsi::Object& obj) { | ||
std::shared_ptr<jsi::NativeState>* holder = static_cast<std::shared_ptr<jsi::NativeState>*>(objectRef(obj)->GetAlignedPointerFromInternalField(0)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://v8docs.nodesource.com/node-0.12/db/d85/classv8_1_1_object.html#a580ea84afb26c005d6762eeb9e3c308f sounds like if it isn't set, it is undefined behavior. I don't know how we would know if it was set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will definitely need to revisit the 0.71 implementation... for now I'm just getting it compiling to unblock the rn bump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
null
Microsoft Reviewers: Open in CodeFlow