OpenTTD Source: ScriptAllocatorScope Class Reference

OpenTTD Source 15.0-RC2

Public Member Functions | Private Attributes
ScriptAllocatorScope Class Reference

## Public Member Functions
| ScriptAllocatorScope (const Squirrel *engine)

## Private Attributes
ScriptAllocator * | old_allocator

## Detailed Description

Definition at line 299 of file squirrel.hpp.

## Constructor & Destructor Documentation

## ◆ ScriptAllocatorScope()

ScriptAllocatorScope::ScriptAllocatorScope | ( | const Squirrel * | engine | ) |
| inline

Definition at line 303 of file squirrel.hpp.

## ◆ ~ScriptAllocatorScope()

ScriptAllocatorScope::~ScriptAllocatorScope | ( |  | ) |
| inline

Definition at line 310 of file squirrel.hpp.

## Field Documentation

## ◆ old_allocator

ScriptAllocator* ScriptAllocatorScope::old_allocator
| private

Definition at line 300 of file squirrel.hpp.

The documentation for this class was generated from the following file:

- src/script/squirrel.hpp