/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ #import "js-util.hpp" #import namespace realm { class Schema; using ObjectDefaults = std::map; } JSClassRef RJSSchemaClass(); JSObjectRef RJSSchemaCreate(JSContextRef ctx, realm::Schema *schema); realm::Schema RJSParseSchema(JSContextRef ctx, JSObjectRef jsonObject, std::map &defaults, std::map &prototypes);