react-native/ReactCommon/jsi
empyrical 78be6efda9 JSI: Minor tweaks for building on MSVC (#23367)
Summary:
This pull request makes two minor changes to `jsi.h`:

 * Tweak the `JSI_EXPORT` macro to automatically set itself to an empty value if `_MSC_VER` is defined - like how was done by acoates-ms [here](8beb4bb58a/ReactCommon/cxxreact/JSBigString.h (L15-L21)).
 * Tweak the call to constructor `Pointer(Runtime::PointerValue* ptr)` in the constructor for `PropNameID`. I am not sure why MSVC wasn't working with the original version, but it compiles after I tweak that.

[General] [Fixed] - Tweaked `jsi.h` to build on MSVC
Pull Request resolved: https://github.com/facebook/react-native/pull/23367

Differential Revision: D14032507

Pulled By: cpojer

fbshipit-source-id: 701c13e3509cc244dbe0c15f92067fae4382bee2
2019-02-11 15:42:18 -08:00
..
Android.mk RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
BUCK Make SystemJSC on macosx actually use the system JSC framework 2018-10-26 17:08:04 -07:00
JSCRuntime.cpp Fix portability issues to Linux, FreeBSD, and older libc++ 2019-01-31 17:45:20 -08:00
JSCRuntime.h Update copyright headers 2018-10-19 11:08:57 -07:00
JSIDynamic.cpp Update copyright headers 2018-10-19 11:08:57 -07:00
JSIDynamic.h Update copyright headers 2018-10-19 11:08:57 -07:00
instrumentation.h Update copyright headers 2018-10-19 11:08:57 -07:00
jsi-inl.h Update copyright headers 2018-10-19 11:08:57 -07:00
jsi.cpp Update copyright headers 2018-10-19 11:08:57 -07:00
jsi.h JSI: Minor tweaks for building on MSVC (#23367) 2019-02-11 15:42:18 -08:00