[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/ClearFoundry/ClearScript/master/ClearScriptV8/V8Context.cpp [Back]  [Original]

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

#include "ClearScriptV8Native.h"

//-----------------------------------------------------------------------------
// V8Context implementation
//-----------------------------------------------------------------------------

V8Context* V8Context::Create(const SharedPtr& spIsolate, const StdString& name, const Options& options)
{
    return new V8ContextImpl(spIsolate.CastTo(), name, options);
}

//-----------------------------------------------------------------------------

size_t V8Context::GetInstanceCount()
{
    return V8ContextImpl::GetInstanceCount();
}

Web Proxy Viewer  |  New URL  |  Original Page