comparison src/luan/interp/UpValue.java @ 149:f99fd64291b3

change load() to take env instead of using global git-svn-id: https://luan-java.googlecode.com/svn/trunk@150 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 16 Jun 2014 05:47:54 +0000
parents 3c404a296995
children
comparison
equal deleted inserted replaced
148:dfd0f33b584e 149:f99fd64291b3
100 public UpValue get(LuanStateImpl luan) { 100 public UpValue get(LuanStateImpl luan) {
101 return upValue; 101 return upValue;
102 } 102 }
103 } 103 }
104 104
105 static final Getter globalGetter = new Getter() {
106 public UpValue get(LuanStateImpl luan) {
107 return new UpValue(luan.global());
108 }
109 };
110
111 } 105 }