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

const thread_status = {
    LUA_OK:        0,
    LUA_YIELD:     1,
    LUA_ERRRUN:    2,
    LUA_ERRSYNTAX: 3,
    LUA_ERRMEM:    4,
    LUA_ERRGCMM:   5,
    LUA_ERRERR:    6
};

module.exports = {
    thread_status: thread_status
};