aboutsummaryrefslogtreecommitdiff
path: root/src/llimit.js
blob: c8455b892cd2c8329ee6cebe077aa6e2e14e4768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*jshint esversion: 6 */
"use strict";

const LUAI_MAXCCALLS = 200;
module.exports.LUAI_MAXCCALLS = LUAI_MAXCCALLS;
const LUA_MAXINTEGER = 2147483647;
module.exports.LUA_MAXINTEGER = LUA_MAXINTEGER;
const LUA_MININTEGER = -2147483648;
module.exports.LUA_MININTEGER = LUA_MININTEGER;

// If later integers are more than 32bit, LUA_MAXINTEGER will then be != MAX_INT
const MAX_INT = 2147483647;
module.exports.MAX_INT = MAX_INT;
const MIN_INT = -2147483648;
module.exports.MIN_INT = MIN_INT;