wonder.js
Version:
18 lines (13 loc) • 655 B
JavaScript
;
var Caml_array = require("bs-platform/lib/js/caml_array.js");
function markCanExecScriptAllEventFunction(canExecScriptAllEventFunction, state) {
var newrecord = Caml_array.caml_array_dup(state);
newrecord[/* loadRecord */48] = /* record */[/* canExecScriptAllEventFunction */canExecScriptAllEventFunction];
return newrecord;
}
function getCanExecScriptAllEventFunction(state) {
return state[/* loadRecord */48][/* canExecScriptAllEventFunction */0];
}
exports.markCanExecScriptAllEventFunction = markCanExecScriptAllEventFunction;
exports.getCanExecScriptAllEventFunction = getCanExecScriptAllEventFunction;
/* No side effect */