| //------------------------------------------------------------------------------------------------------- |
| // Copyright (C) Microsoft. All rights reserved. |
| // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. |
| //------------------------------------------------------------------------------------------------------- |
| #pragma once |
| #include "Core/ConfigParser.h" |
| |
| // Include this file got get the default behavior for JsUtil::ExternalApi functions. |
| void JsUtil::ExternalApi::RecoverUnusedMemory() |
| { |
| } |
| |
| bool JsUtil::ExternalApi::RaiseOutOfMemoryIfScriptActive() |
| { |
| return false; |
| } |
| |
| bool JsUtil::ExternalApi::RaiseOnIntOverflow() |
| { |
| return false; |
| } |
| |
| LPCWSTR JsUtil::ExternalApi::GetFeatureKeyName() |
| { |
| return _u(""); |
| } |
| |
| bool JsUtil::ExternalApi::RaiseStackOverflowIfScriptActive(Js::ScriptContext * scriptContext, PVOID returnAddress) |
| { |
| return false; |
| } |
| |
| ThreadContextId JsUtil::ExternalApi::GetCurrentThreadContextId() |
| { |
| return (ThreadContextId)::GetCurrentThreadId(); |
| } |
| |
| #if DBG || defined(EXCEPTION_CHECK) |
| BOOL JsUtil::ExternalApi::IsScriptActiveOnCurrentThreadContext() |
| { |
| return false; |
| } |
| #endif |
| |
| bool ConfigParserAPI::FillConsoleTitle(__ecount(cchBufferSize) LPWSTR buffer, size_t cchBufferSize, __in LPWSTR moduleName) |
| { |
| return false; |
| } |
| |
| void ConfigParserAPI::DisplayInitialOutput(__in LPWSTR moduleName) |
| { |
| } |
| |
| IMPLEMENT_STUB_IsLikelyRuntimeFalseReference() |