MCPcopy Create free account
hub / github.com/OpenMW/openmw / addInteger

Method addInteger

components/compiler/literals.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace Compiler
7{
8 int Literals::addInteger(Interpreter::Type_Integer value)
9 {
10 int index = static_cast<int>(mIntegers.size());
11
12 mIntegers.push_back(value);
13
14 return index;
15 }
16
17 int Literals::addFloat(Interpreter::Type_Float value)
18 {

Callers 1

pushIntFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected