mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Fix JSC compilation
This commit is contained in:
parent
3c45c8a750
commit
45bb91b43c
@ -23,11 +23,6 @@
|
||||
namespace realm {
|
||||
namespace js {
|
||||
|
||||
template<>
|
||||
inline JSValueRef jsc::Object::get_property(JSContextRef ctx, const JSObjectRef &object, StringData key) {
|
||||
return get_property(ctx, object, jsc::String(key));
|
||||
}
|
||||
|
||||
template<>
|
||||
inline JSValueRef jsc::Object::get_property(JSContextRef ctx, const JSObjectRef &object, const jsc::String &key) {
|
||||
JSValueRef exception = nullptr;
|
||||
@ -38,6 +33,11 @@ inline JSValueRef jsc::Object::get_property(JSContextRef ctx, const JSObjectRef
|
||||
return value;
|
||||
}
|
||||
|
||||
template<>
|
||||
inline JSValueRef jsc::Object::get_property(JSContextRef ctx, const JSObjectRef &object, StringData key) {
|
||||
return get_property(ctx, object, jsc::String(key));
|
||||
}
|
||||
|
||||
template<>
|
||||
inline JSValueRef jsc::Object::get_property(JSContextRef ctx, const JSObjectRef &object, uint32_t index) {
|
||||
JSValueRef exception = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user