Mercurial Hosting > luan
comparison core/src/luan/modules/JavaLuan.java @ 428:df95199ca4c0
rename __newindex to __new_index
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2015 20:10:31 -0600 |
parents | dae264ad6a7b |
children | c6bcb8859b93 |
comparison
equal
deleted
inserted
replaced
427:dae264ad6a7b | 428:df95199ca4c0 |
---|---|
140 } catch(IllegalAccessException e) { | 140 } catch(IllegalAccessException e) { |
141 throw new RuntimeException(e); | 141 throw new RuntimeException(e); |
142 } | 142 } |
143 } | 143 } |
144 | 144 |
145 public static void __newindex(LuanState luan,Object obj,Object key,Object value) throws LuanException { | 145 public static void __new_index(LuanState luan,Object obj,Object key,Object value) throws LuanException { |
146 checkJava(luan); | 146 checkJava(luan); |
147 if( obj instanceof Static ) { | 147 if( obj instanceof Static ) { |
148 if( key instanceof String ) { | 148 if( key instanceof String ) { |
149 String name = (String)key; | 149 String name = (String)key; |
150 Static st = (Static)obj; | 150 Static st = (Static)obj; |