summaryrefslogtreecommitdiff
path: root/tests/lib-hello.js.mod
blob: d4c02e1950ba77611d1f29834e522a0e25f7594d (plain)
1
2
3
4
5
6
7
8
const lua      = require('../src/lua.js');

module.exports = {
    "hello": function(L) {
        lua.lua_pushliteral(L, "hello from js lib");
        return 1;
    }
};