Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Context.h File Reference
#include <cstdint>
#include <list>
#include <memory>
Include dependency graph for Context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Script::Context
 

Namespaces

namespace  JS
 
namespace  Script
 Abstraction around a SpiderMonkey JSContext.
 

Variables

constexpr int DEFAULT_CONTEXT_SIZE = 16 * 1024 * 1024
 
constexpr uint32_t DEFAULT_HEAP_GROWTH_BYTES_GCTRIGGER = 2 * 1024 * 1024
 
thread_local std::shared_ptr< Script::Context > g_ScriptContext
 

Variable Documentation

◆ DEFAULT_CONTEXT_SIZE

constexpr int DEFAULT_CONTEXT_SIZE = 16 * 1024 * 1024
constexpr

◆ DEFAULT_HEAP_GROWTH_BYTES_GCTRIGGER

constexpr uint32_t DEFAULT_HEAP_GROWTH_BYTES_GCTRIGGER = 2 * 1024 * 1024
constexpr

◆ g_ScriptContext

thread_local std::shared_ptr<Script::Context> g_ScriptContext
extern