comparison core/src/luan/modules/BasicLuan.java @ 521:8a217fe5b4f3

cleaner LuanState.onClose()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 27 May 2015 03:12:28 -0600
parents 8dcf9e12446b
children 3058870cbe83
comparison
equal deleted inserted replaced
520:fcb9b4c8e972 521:8a217fe5b4f3
223 } catch(LuanException e) { 223 } catch(LuanException e) {
224 return new Object[]{false,e.table()}; 224 return new Object[]{false,e.table()};
225 } 225 }
226 } 226 }
227 227
228 public static void on_luan_close(LuanState luan,LuanFunction fn) {
229 luan.onClose(fn);
230 }
231
232 } 228 }