2015-10-27 13:59:15 -07:00
|
|
|
/* Copyright 2015 Realm Inc - All Rights Reserved
|
|
|
|
* Proprietary and Confidential
|
|
|
|
*/
|
2015-08-13 09:12:48 -07:00
|
|
|
|
2015-11-27 18:36:04 -08:00
|
|
|
#import "js_util.hpp"
|
2015-08-13 09:12:48 -07:00
|
|
|
|
|
|
|
namespace realm {
|
|
|
|
class Realm;
|
|
|
|
typedef std::shared_ptr<Realm> SharedRealm;
|
|
|
|
}
|
|
|
|
|
|
|
|
JSClassRef RJSResultsClass();
|
|
|
|
JSObjectRef RJSResultsCreate(JSContextRef ctx, realm::SharedRealm realm, std::string className);
|
2015-11-10 15:58:04 -08:00
|
|
|
JSObjectRef RJSResultsCreate(JSContextRef ctx, realm::SharedRealm realm, std::string className, std::string query, std::vector<JSValueRef> args);
|