aboutsummaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index faa0887..929dae8 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -21,7 +21,22 @@ class Proto {
}
+class UpVal {
+
+ constructor() {
+ this.v = null;
+ this.u = {
+ open: {
+ next: null,
+ touched: false
+ },
+ value: null
+ };
+ }
+
+}
module.exports = {
- Proto: Proto
+ Proto: Proto,
+ UpVal: UpVal
}; \ No newline at end of file