fix: Fix namespace
This commit is contained in:
parent
78a64abb8c
commit
deeb8db59f
@ -27,6 +27,8 @@
|
|||||||
using namespace facebook;
|
using namespace facebook;
|
||||||
using namespace facebook::react;
|
using namespace facebook::react;
|
||||||
|
|
||||||
|
namespace JSINSObjectConversion {
|
||||||
|
|
||||||
jsi::Value convertNSNumberToJSIBoolean(jsi::Runtime &runtime, NSNumber *value)
|
jsi::Value convertNSNumberToJSIBoolean(jsi::Runtime &runtime, NSNumber *value)
|
||||||
{
|
{
|
||||||
return jsi::Value((bool)[value boolValue]);
|
return jsi::Value((bool)[value boolValue]);
|
||||||
@ -212,3 +214,5 @@ RCTResponseSenderBlock convertJSIFunctionToCallback(jsi::Runtime &runtime, const
|
|||||||
|
|
||||||
return [callback copy];
|
return [callback copy];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace JSIJNIObjectConversion
|
||||||
|
Loading…
Reference in New Issue
Block a user